Skip to main content

A tool plugin for LLM to enable searching over embeddings

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llm_tools_rag-0.1.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

llm_tools_rag-0.1.1-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file llm_tools_rag-0.1.1.tar.gz.

File metadata

  • Download URL: llm_tools_rag-0.1.1.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for llm_tools_rag-0.1.1.tar.gz
Algorithm Hash digest
SHA256 470e034a95cfbdfa21ff1e6dc3bf85e699f711da89667c3bea9e93d181195cae
MD5 9a1239b0ba2e4c8fd17b947b1137ab8e
BLAKE2b-256 9d11717ddf37109de33ebeeb6be0aa855a0a45c2d476d0b0d6c80187877ba050

See more details on using hashes here.

Provenance

The following attestation bundles were made for llm_tools_rag-0.1.1.tar.gz:

Publisher: publish.yml on daturkel/llm-tools-rag

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file llm_tools_rag-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: llm_tools_rag-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for llm_tools_rag-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e931702552d94c9698e64ec258b62c83b7ad47ba73b7487ed3efbef7378091cf
MD5 0b3124d07b6daec72717f9c0dfdb9459
BLAKE2b-256 4cc8d801991598c729eecf6a9f35d895836ed97d665185e3666f8c0e1f5e83a0

See more details on using hashes here.

Provenance

The following attestation bundles were made for llm_tools_rag-0.1.1-py3-none-any.whl:

Publisher: publish.yml on daturkel/llm-tools-rag

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page