simonw / llm-rag

Answer questions against collections stored in LLM using Retrieval Augmented Generation
Apache License 2.0
22 stars 1 forks source link

llm-rag

PyPI Changelog Tests License

Run Retrieval Augmented Generation against collections stored by LLM

Installation

Install this plugin in the same environment as LLM.

llm install llm-rag

Usage

Usage instructions go here.

Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:

cd llm-rag
python3 -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

llm install -e '.[test]'

To run the tests:

pytest