basic

command
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package main demonstrates sending a request directly to any configured LLM provider.

Set at least one provider key and run:

OPENAI_API_KEY=sk-... go run ./examples/basic ANTHROPIC_API_KEY=sk-ant-... go run ./examples/basic GROQ_API_KEY=gsk_... go run ./examples/basic # (any of the 8 supported provider keys work)

Jump to

Keyboard shortcuts

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