Prerequisites
Before you begin, ensure you have:Created a Knowledge Source
Learn how to create a knowledge source in our guide.
Created an Assistant
If you haven’t created an assistant yet, follow our creating an assistant
guide.
Access Knowledge Configuration
When creating or editing an assistant, navigate to the “Manage” tab and select “Knowledges” from the sidebar.
Create or Select Knowledge Source
In
the “Knowledge” field, you can: - Type to search for an existing knowledge
source - Select from the dropdown list of available knowledge sources - Create
a new knowledge source if neededConfigure Retrieval Settings

-
Choose the search method:
- Hybrid Search (recommended): Combines full-text search and vector search for optimal results.
- Semantic Search: Uses query embeddings to find semantically similar content.
- Full Text Search: Indexes and searches all terms in the document.
- Adjust the “Top K” value: This determines the number of most relevant results to retrieve. A higher value may provide more comprehensive results but could include less relevant information.
- Set the “Score Threshold”: This filters results based on their relevance score. A higher threshold will only return more closely matched results.
- Enable “Reranking” (Optional): Reranking improves the relevance of retrieved information by re-evaluating the initial search results, considering additional context and nuances, and potentially reordering the results for better relevance.
- Select the reranking model: If reranking is enabled, choose an appropriate model. The default “Rerank English v2.0” works well for English content.
Best Practices
- Start with Hybrid Search for a balance of broad coverage and semantic understanding.
- Experiment with different “Top K” and “Score Threshold” values to find the optimal balance for your use case.
- Enable reranking for more nuanced and contextually relevant results, especially for complex queries.