commit
3e041e6215
3 changed files with 40 additions and 0 deletions
15
.env.example
Normal file
15
.env.example
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# Ollama connection
|
||||
OLLAMA_MODEL=llama3.2:3b
|
||||
OLLAMA_BASE_URL=http://localhost:11434
|
||||
|
||||
# Embedding model (runs locally via sentence-transformers, no API key needed)
|
||||
EMBEDDING_MODEL=sentence-transformers/all-MiniLM-L6-v2
|
||||
|
||||
# Paths (relative to project root, override if needed)
|
||||
POLICY_DOCS_DIR=app/data/policies
|
||||
INDEX_DIR=app/data/index
|
||||
TICKETS_DB_PATH=app/data/tickets.db
|
||||
|
||||
# RAG subgraph tuning
|
||||
RAG_TOP_K=4
|
||||
RAG_MAX_REWRITES=2
|
||||
12
.gitignore
vendored
Normal file
12
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
__pycache__/
|
||||
*.pyc
|
||||
.env
|
||||
venv/
|
||||
.venv/
|
||||
app/data/index/
|
||||
app/data/tickets.db
|
||||
eval/results/*.json
|
||||
eval/results/*.md
|
||||
.pytest_cache/
|
||||
.streamlit/
|
||||
*.egg-info/
|
||||
13
requirements.txt
Normal file
13
requirements.txt
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
langgraph==1.2.20
|
||||
langchain-core==1.7.6
|
||||
langchain-community==0.4.2
|
||||
langchain-text-splitters==1.1.3
|
||||
langchain-ollama==1.1.0
|
||||
langchain-huggingface==1.2.3
|
||||
sentence-transformers==6.2.0
|
||||
faiss-cpu==1.15.1
|
||||
streamlit==1.67.0
|
||||
pydantic==2.14.3
|
||||
python-dotenv==1.2.4
|
||||
pytest==9.2.0
|
||||
numpy==2.5.4
|
||||
Loading…
Add table
Reference in a new issue