Skip to content

kgruel/llm-tools-kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

llm-tools-kit

PyPI Changelog Tests License

wrapper for cased-kit's code analysis toolset

Installation

Install this plugin in the same environment as LLM.

llm install llm-tools-kit

Usage

To use this with the LLM command-line tool:

llm --tool example_hello "Example prompt goes here" --tools-debug

With the LLM Python API:

import llm
from llm_tools_kit import example_hello

model = llm.get_model("gpt-4.1-mini")

result = model.chain(
    "Example prompt goes here",
    tools=[example_hello]
).text()

Development

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

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

Now install the dependencies and test dependencies:

llm install -e '.[test]'

To run the tests:

python -m pytest

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages