2026-06-05 12:49:45 +00:00
2026-06-05 11:43:52 +00:00
2026-06-04 20:03:19 +00:00
2026-06-05 12:42:11 +00:00
2026-06-05 12:42:14 +00:00
2026-06-05 11:34:04 +00:00
2026-06-05 12:42:20 +00:00
2026-06-04 20:02:32 +00:00
2026-06-05 12:42:26 +00:00
2026-06-05 12:42:29 +00:00
2026-06-05 11:28:24 +00:00
2026-06-04 20:02:44 +00:00
2026-06-05 10:24:39 +00:00
2026-06-05 11:43:34 +00:00
2026-06-05 11:43:37 +00:00
2026-06-05 11:28:53 +00:00
2026-06-04 20:03:14 +00:00

RAG Agent with Local Qdrant and Ollama

This repository implements a simple AI agent that can store, search, and retrieve information from a local vector store using Qdrant and Ollama embeddings. The agent is built with LangChain v1 and supports an interactive CLI with the following commands:

  • /add add a new document to the knowledge base.
  • /search perform a semantic search in the knowledge base.
  • /quit exit the program.

Features

  • RAG Retrieval-Augmented Generation using a local vector store.
  • Qdrant Vector similarity search engine.
  • Ollama Local LLM (llama3) and embeddings (nomic-embed-text).
  • LangChain v1 Modern agent framework.
  • Recursive text splitter Chunk documents before embedding.

Setup

# Install Ollama models
ollama pull llama3
ollama pull nomic-embed-text

# Install Python dependencies
pip install -r requirements.txt

Usage

# Load documents from the `docs` folder and start the CLI
python -m src.cli --docs docs

You can then interact with the agent using the commands described above.

S
Description
Агент с RAG-памятью
Readme 275 KiB
Languages
Python 100%