Updated APIs - Assistants and Knowledgebases APIs add search endpoints
The Assistants API and Knowledgebases API now let you search across assistant and knowledge base content using semantic and hybrid search.
The following new endpoints enable this functionality:
POST /api/v1/assistants/{assistantId}/search- Perform search on an assistant using eitherSIMPLE(semantic search) orFULLmode (semantic search with reranking and hybrid search).POST /api/v1/knowledgebases/{id}/search- Search chunks from a knowledge base using eitherSIMPLE(semantic search) orFULLmode (semantic search with reranking and keyword-based search).
Use these endpoints to power intelligent search and content discovery features in your applications.
For more information, refer to: