1
Chunk the information
Break down the knowledge into smaller chunks to ensure our search query returns only relevant results.
2
Load the knowledge base
Convert the chunks into embedding vectors and store them in a vector database.
3
Search the knowledge base
When the user sends a message, we convert the input message into an embedding and “search” for nearest neighbors in the vector database.
- Performing a vector similarity search to find semantically similar content.
- Conducting a keyword-based search to identify exact or close matches.
- Combining the results using a weighted approach to provide the most relevant information.