720ed0591202c42debeae3200e0490d8c6949651
llm-tools-tricu-bridge
A tool that allows running Tricu expressions
Installation
Install this plugin in the same environment as LLM.
llm install llm-tools-tricu-bridge
Usage
To use this with the LLM command-line tool:
llm --tool tricu-bridge "Example prompt goes here" --tools-debug
With the LLM Python API:
import llm
from llm_tools_tricu_bridge import tricu-bridge
model = llm.get_model("gpt-4.1-mini")
result = model.chain(
"Example prompt goes here",
tools=[tricu-bridge]
).text()
Development
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
cd llm-tools-tricu-bridge
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
Languages
Python
100%