langchain-rag-agent-prototype
GloomAI
Requirements
- uv - python package manager (https://docs.astral.sh/uv/getting-started/installation/)
- Ollama (https://ollama.com/download)
- Models:
ollama pull nomic-embed-textollama pull llama3.2:3b
Generate embeddings
Create "knowledgebase" that RAG agent will query for information based on user questions. You can list multiple PDF files to index on the command line.
uv run python -m embeddings d7-gloomhaven-jaws-of-the-lion-rulebook.pdf
Run the web server
Run a development web server available on http://localhost:8000. Debug mode enables hot code reloading, etc.
uv run flask --app web run -p 8000 --debug
Description
Languages
Python
66.6%
HTML
33.4%