Welcome to the architecture documentation for the Smart Search / AI Explorer. This section provides a high-level overview of how the system is structured and the technologies powering its intelligent search and retrieval capabilities.
Key Components
🚀 Solution Database
Every solution in our database is vectorized, enabling semantic understanding and advanced search functionalities. This preprocessing ensures that solutions can be effectively retrieved based on context, relevance, and similarity.
Vector Database: Powered by Typesense, optimized for hybrid search capabilities.
🔍 Search Engine
The Smart Search utilizes a hybrid approach, combining keyword-based search with semantic search to maximize retrieval effectiveness:
Keyword Search: Traditional exact or partial matching for direct queries.
Semantic Search: Contextual matching using vector embeddings.
Ranking Factors:
Length of query
Weights assigned to keyword and semantic search results
This approach ensures accurate and relevant results for both simple and complex queries.
🤖 AI-Powered Agent
At the heart of the system is an adaptive RAG (Retrieval-Augmented Generation) agent that enhances interaction and search capabilities. The agent architecture includes:
LLM Layer
The agent leverages the GPT-4o-mini model for natural language understanding and response generation.
Vector Store Integration
The agent connects to the vector store to retrieve relevant context and solutions, ensuring precise and informative responses.
Adaptive Toolset
Unlike standard RAG implementations, the agent includes:
A layer of intelligence to determine the best tools to use for each request.