command
Version:
v0.1.4
Opens a new window with list of versions in this module.
Published: Mar 14, 2026
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Tool calling example.
This example demonstrates how to use function/tool calling, allowing
the model to invoke external functions and use their results.
To run:
export OPENAI_API_KEY="your-key-here"
go run examples/04_tool_calling/main.go
Source Files
¶
Click to show internal directories.
Click to hide internal directories.