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.0.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.0-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for llm_tools_rag-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1abd808095ffacd28eb0cf6685ce61873bb204a8f8e7858e9b6047235570f5a7
MD5 d5b5ce291c5a6ae68314f1d232f366d8
BLAKE2b-256 09cc162a68ecfd02a199aa9400f8206539d5aa642e539f8f4cfc2b8edd6b2658

See more details on using hashes here.

Provenance

The following attestation bundles were made for llm_tools_rag-0.1.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: llm_tools_rag-0.1.0-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.12.9

File hashes

Hashes for llm_tools_rag-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 18f28271876036136f3bf099f7a6aad13311dee4a31756c8e3e1971a0fd6e62d
MD5 42b33bc1382b71c1b3aac33851583fed
BLAKE2b-256 0550389af569df789b8589c6d85318582b163de28305b01c915aa9597d7c6c1a

See more details on using hashes here.

Provenance

The following attestation bundles were made for llm_tools_rag-0.1.0-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