Agent with RAG Memory

This project demonstrates a simple Node.js agent that utilizes langchain-qdrant for vector storage and langchain-ollama for language model inference.

Setup

# Install dependencies
npm install

# Run the agent
npm start

The agent will initialize a connection to a Qdrant instance (default URL: http://localhost:6333) and an Ollama LLM (default model: llama2). Adjust the configuration in index.js as needed for your environment.

Dependencies

  • langchain-qdrant: Vector store integration with Qdrant.
  • langchain-ollama: LLM integration with Ollama.

Ensure that Qdrant and Ollama services are running locally or update the URLs accordingly.

S
Description
BroJS: Агент с RAG-памятью
Readme 145 KiB
Languages
Python 67.1%
TypeScript 16.6%
JavaScript 15.4%
Dockerfile 0.9%