Introducing the Helix CLI and Dagger module
Automate calling open source LLMs with the helix CLI, and how we made it easier to test Helix with a new Dagger module
Helix CLI
You can now install the Helix CLI by running:
go install github.com/helixml/helix@latest
Then simply run:
export HELIX_API_KEY=<your api key>
Replacing <your api key>
from https://app.tryhelix.ai/account
Then you can run:
helix run --prompt "what is special about the number 42? answer briefly"
And you’ll get a response from Mistral-7B (aka Helix 3.5) via our API :-)
Dagger module
We’re big fans of Dagger which allows you to build a CI system that you can run locally so that it’s easier and faster to iterate on.
You can now interact with open source LLMs in Helix automatically from Dagger using the new Helix Dagger module. We plan to use this to automate more of our testing.
Put the following in a ~/.helix/credentials
file:
HELIX_API_KEY=<your api key>
Then run:
dagger call -m github.com/helixml/dagger run --helix-credentials ~/.helix/credentials --prompt "what's special about the number 42?"
We also demoed this integration here at the Ollama meetup in Paris a few weeks ago, along with Helix Tools, which allows you to call APIs from the LLM. Check it out, the video’s only 8 minutes long:
As ever, any questions or comments, please come to our Discord :-)
Cheers,
Luke