Files
agent-s-rag-pamyatyu/README.md
T
2026-06-30 14:54:48 +03:00

22 lines
704 B
Markdown

# 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
```bash
# 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.