04_tool_calling

command
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL