Skip to content

docs(ollama): add tool-calling example to integration landing page#473

Open
albertodiazdurana wants to merge 1 commit intodeepset-ai:mainfrom
albertodiazdurana:docs/ollama-tool-calling-example
Open

docs(ollama): add tool-calling example to integration landing page#473
albertodiazdurana wants to merge 1 commit intodeepset-ai:mainfrom
albertodiazdurana:docs/ollama-tool-calling-example

Conversation

@albertodiazdurana
Copy link
Copy Markdown

Closes deepset-ai/haystack-core-integrations#3263.

This adds a minimal tool-calling example to the Ollama integration
landing page (integrations/ollama.md). Practitioners landing on the
page can now see that OllamaChatGenerator supports local tool calling.

The example uses create_tool_from_function (the current public helper
per haystack 2.x) and sets temperature=0.0 + a directive prompt for
reliable tool-call emission on Llama 3.1 8B; both are needed for
reproducibility, verified empirically.

Streaming-with-tools and tool_choice are deferred to the component
reference page (docs.haystack.deepset.ai/docs/ollamachatgenerator),
as agreed in the issue thread.

Closes deepset-ai/haystack-core-integrations#3263.

Adds a minimal OllamaChatGenerator + Tool example to the Ollama
integration landing page so practitioners can discover that local
tool calling is supported. Verified empirically with llama3.1:8b on
Ollama. Streaming-with-tools and tool_choice are deferred to the
component reference page.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs: surface tool-calling on the Ollama integration landing page

1 participant