algoliasearch-client-python
algoliasearch-client-python copied to clipboard
feat(AnswersClient): V1 implementation
trafficstars
| Q | A |
|---|---|
| New feature? | yes/no |
| Need Doc update | yes |
Describe your change
Adds a first implementation of the Answers API's prediction endpoint.
Design considerations
- As the API is still in beta, this implem doesn't strongly type Answers parameters like
query,queryLanguages, orreturnExtractAttributeuntil these have a finalized status and naming. - I made the
indexa parameter, to allow for the sameAnswersClientto target different indices successively - can be reconsidered if it makes it inconsistent with this client's users' expectations.