Semantic search for passages
Documentation Index
Fetch the complete documentation index at: https://docs.cognite.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Access token issued by the CDF project's configured identity provider. Access token must be an OpenID Connect token, and the project must be configured to accept OpenID Connect tokens. Use a header key of 'Authorization' with a value of 'Bearer $accesstoken'. The token can be obtained through any flow supported by the identity provider.
Body
Fields to be set for the search request.
Narrow down search results. You must specify atleast one filter of type semanticSearch, lexicalSearch or both.
A query that matches items matching boolean combinations of other queries.
Currently only supports and clause.
- bool filters
- equals
- in
- semanticSearch
- lexicalSearch
A expansion strategy to to increase the text view for each passage returned. Helpful to increase context for an LLM.
Maximum number of items.
1 <= x <= 10Response
List of most relevant document passages for a given query. The results are sorted by relevance, and contains metadata such as page numbers.