2025-04-07 18:01:23 +02:00
2025-04-01 17:37:27 +02:00
2025-04-01 06:47:40 +00:00
2025-04-01 06:47:40 +00:00
2025-04-07 17:11:37 +02:00
2025-04-01 06:47:40 +00:00
2025-04-07 17:11:37 +02:00

Vector Database POC

What it is

  • Development environment using Devcontainers

  • Stores document embeddings in ChromaDB

  • Retrieves relevant documents for a given query

  • Generates answers using Ollama

Getting started

Download some models

ollama pull mxbai-embed-large # Used for embeddings

ollama pull gemma3 # Used as LLM

Download python depedencies

pip install -r requirements.txt

Run

First you need to seed the database with a few documents

python script.py seed

And then you can do your search

python script.py search --query "What is NAF and how can it help?"

Roadmap

  • Streaming responses (for real-time chat)

  • Metadata filtering (e.g., retrieving only recent docs)

  • Improved ranking (reranking results for better accuracy)

Description
No description provided
Readme 39 KiB
Languages
Python 100%