- 03 Oct 2024
- 1 Minute to read
- Print
- DarkLight
- PDF
/api/v2/filter/chunks
- Updated on 03 Oct 2024
- 1 Minute to read
- Print
- DarkLight
- PDF
This endpoint can be used to filter document chunks based on a given query.
The query should be a single string.
Chunk ids should be a list of strings. Each string should be the UUID of an existing document chunk.
The model
field should be the name of the model to use for filtering.
An optional integer n
can be provided, which can be used to return the first n
chunks that pass the filter.
Token-based authentication with required prefix 'Bearer '. For example: Bearer <api_key>
Serializer dedicated to the input request of the filtering endpoint.
Model to use for the filtering, must exist and be configured from the admin. If no model is given, will try to use the "reranker" model.
Serializer dedicated to the input request of the filtering endpoint.
Model to use for the filtering, must exist and be configured from the admin. If no model is given, will try to use the "reranker" model.
Serializer dedicated to the input request of the filtering endpoint.
Model to use for the filtering, must exist and be configured from the admin. If no model is given, will try to use the "reranker" model.