Skip to content

Commit 816a438

Browse files
committed
feat: improve support for tool calling in ollama-rs
We need to send a system prompt to some models. Plus add some stubs for pydantic for python tool execution. This also includes nascent support for openai-rs (not fully funcitonal yet). Signed-off-by: Nick Mitchell <[email protected]>
1 parent 6716dd9 commit 816a438

File tree

6 files changed

+524
-18
lines changed

6 files changed

+524
-18
lines changed

pdl-live-react/demos/demo1.pdl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ description: Simple LLM interaction
22
text:
33
- "write a hello world example, and explain to me how to run it"
44
- model: ollama_chat/granite3.2:2b
5+
# - model: openai/ibm-granite_granite-3.2-2b-instruct

0 commit comments

Comments
 (0)