- 03 Oct 2024
- 1 Minute to read
- Print
- DarkLight
- PDF
/api/v2/query/reformulation
- Updated on 03 Oct 2024
- 1 Minute to read
- Print
- DarkLight
- PDF
This endpoint can be used to reformulate a query in order to enhance retrieval.
The query should be a single string or a list of string with up to 10 queries.
The model
field should be the name of the model to use for query formulation.
Token-based authentication with required prefix 'Bearer '. For example: Bearer <api_key>
Serializer for reformulating a query.
Model to use for the reformulation, must exist and be configured from the admin. If no model is given, will try to use the "rewriter" model.
Serializer for reformulating a query.
Model to use for the reformulation, must exist and be configured from the admin. If no model is given, will try to use the "rewriter" model.
Serializer for reformulating a query.
Model to use for the reformulation, must exist and be configured from the admin. If no model is given, will try to use the "rewriter" model.
Serializer for the result of a the query reformulation function.