03-multi-turn

command
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Example 03: Multi-turn — conversation across multiple Session.Run calls.

From the repo root:

OPENAI_API_KEY="sk-..." go run ./examples/03-multi-turn/main.go

Or copy into a new module:

mkdir my-agent && cd my-agent && go mod init my-agent
cp main.go . && go get github.com/chinudotdev/pith-sdk@latest
OPENAI_API_KEY="sk-..." go run main.go

Jump to

Keyboard shortcuts

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