Skip to content

parthsolanke/ragware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RAGWare

Retrieval-Augmented Generation (RAG)

Prerequisites

  • Python >= 3.13
  • An OpenAI API key set as OPENAI_API_KEY (put it in a .env file at the project root)

Quick install

Recommended (Poetry):

  1. Install dependencies:

    poetry install

  2. Run the API:

    ./run.sh

Alternatively (pip):

  1. Create and activate a virtual environment:

    python -m venv .venv source .venv/bin/activate

  2. Install the package in editable mode and run:

    pip install -e . python -m src.main

Notes

  • The API server defaults to host 0.0.0.0 and port 8000 (see src/config.py).
  • test_queries.sh posts to http://localhost:8001 by default — either update the API_URL in that script or run the service on port 8001 before using it.
  • test_queries.sh expects jq and curl to be available.

License

MIT

About

retrieval augmented generation from scratch

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors