mirror of
https://github.com/jambonz/talk-to-your-llm.git
synced 2025-12-19 03:57:43 +00:00
3986c33d7e2945156bc2a0772ef95ea47c140acd
talk-to-your-llm
This is a basic voicebot connected to using their Assistant framework.
Installing
The basics:
npm ci
WS_PORT=3000 OPENAI_API_KEY=xxxx node app.js
In the jambonz webapp create an application with url wss://<your-domain>/llm-voicebot and route calls to it.
Configuration
| Environment variable | meaning | required |
|---|---|---|
| OPENAI_API_KEY | Your api key | yes |
| OPENAI_MODEL | model to use | no (default: gpt-4-turbo) |
| BOT_NAME | Name of Assistant to create | no (default: jambonz-llm-voicebot) |
If you want to change the system instruction edit ./data/settings.json
Limitations
Currently, there is no support for adding Tools to the Assistant. User input is transcribed and then presented to the OpenAI Assistant as simple text, and the OpenAI assistant is encouraged (via system instructions) to respond with text that is brief and un-annotated.
Languages
JavaScript
100%