Query Knowledge Base
Query the data store for documents based on the query text and search parameters.
Authorizations
Query Parameters
The unique identifier for the Knowledge Base which is given by Eqho.
"6793d444709df162092367a9"
The text to match against the documents in the Knowledge Base.
The type of search to perform.
similarity: Search for documents similar to the query text. similarity_score_threshold: Search for documents with similarity scores above a threshold. mmr: Search for documents using Maximal Marginal Relevance.
similarity
, similarity_score_threshold
, mmr
The number of found documents to return.
1 <= x <= 100
The similarity score threshold for similarity_score_threshold search.
0 <= x <= 1
The number of documents to be used in the MMR search algorithm. Lower values will return less diverse documents.
Used only when search_type is 'mmr'.
2 <= x <= 200
The desired diversity of the documents returned by MMR search.
Used only when search_type is 'mmr'.
0 <= x <= 1
Response
Response model for data store queries