Skip to content

daturkel/llm-tools-rag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

llm-tools-rag

A tool plugin for LLM that allows you to search over your embedding collections.

PyPI Changelog Tests License

Installation

Install this plugin in the same environment as LLM:

llm install llm-tools-rag

Usage

Use -T RAG to enable the RAG tools. You can specify a non-default database with -T RAG("other_db.db").

llm -m claude-4-sonnet -T RAGTools "what are the available plugin hooks in llm?"

Development

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

cd llm-tools-rag
python -m venv venv
source venv/bin/activate

Install the dependencies and test dependencies:

pip install -e '.[test]'

To run the tests:

pytest

Dependencies

  • llm: The LLM CLI tool this plugin extends
  • sqlite-utils: For querying LLM's sqlite databases

About

Plugin for basic RAG functionality with the LLM tool

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages