SvelteSearch is an intelligent search engine specifically designed for Svelte documentation. It uses RAG techniques and AI to understand and answer your questions about Svelte development with high accuracy and contextual awareness.
At the heart of SvelteSearch is a system that converts Svelte's documentation into mathematical representations called embeddings. I use OpenAI's text-embedding-3-large model to transform documentation text into numerical vectors that capture the semantic meaning of the content.
These embeddings are stored in Qdrant, a vector database designed for similarity search. When you search for something, your query is compared against these stored vectors to find the most relevant documentation sections.
The system currently uses 256-dimensional vectors for document embeddings, providing a balance between accuracy and computational efficiency.
Few things I'll work on improving SvelteSearch's capabilities: