Skip to content

lconnell/langchain-rag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codacy Badge

Build
docker build -t langchain_rag_app --no-cache .
Run
docker run --name langchain_rag --rm --env-file .env -p 8000:8000 -v $(pwd)/data:/app/data langchain_rag_app
Health Check
curl -X GET "http://localhost:8000/health"
Camping Gear Query
curl -X POST "http://localhost:8000/query" \
  -H "Content-Type: application/json" \
  -d '{"query": "best camping gear"}'
Kubernetes
kubectl create pv langchain-rag-pv \
  --capacity=storage=1Gi \
  --access-modes=ReadWriteOnce \
kubectl create pv langchain-rag-pv \
  --capacity=storage=1Gi \
  --access-modes=ReadWriteOnce \
  --host-path=$HOST_PATH/langchain-rag/data \
  --dry-run=client -o yaml > langchain-rag-pv.yaml
kubectl apply -f langchain-rag-pv.yaml

About

Thai food recipe Agentic RAG

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 2

  •  
  •