OpenwebUI integration #3
grimwiz
started this conversation in
Show and tell
Replies: 1 comment
-
|
Under Workspace -> Models you can create a dice-aware model by turning on the "Dice Roller" tool there. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Here is how to tie the dice roller into OpenwebUI as a tool.
##Example output:
Q. dice roller 4d6 discard lowest
A. Thought for less than a second
You rolled a 3, 5, 6 and a 1.
Discard the lowest (the 1) and sum the rest: 3 + 5 + 6 = 14.
##Files
Dockerfile:
file: server.mjs
Fragment of docker-compose.yaml (add it as a stanza to your other openapi docker tools)
In OpenwebUI's configuration, using the address of the docker server and the port listed in the fragment above add the tool.
Beta Was this translation helpful? Give feedback.
All reactions