llm

package
v0.19.2 Latest Latest
Warning

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

Go to latest
Published: May 19, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Completed added in v0.17.3

type Completed struct{}

type Content added in v0.17.3

type Content interface {
	// contains filtered or unexported methods
}

type Delta added in v0.17.3

type Delta struct {
	Body string
}

type Error added in v0.17.3

type Error struct {
	Message string
}

type Image added in v0.17.3

type Image struct {
	Source any
}

type JSONObject added in v0.17.2

type JSONObject = map[string]any

func Required added in v0.2.0

func Required(schema JSONObject, names []string) JSONObject

func Schema added in v0.2.0

func Schema(props []SchemaProperty) JSONObject

type Reasoning added in v0.17.3

type Reasoning struct {
	Summary []any
}

type SchemaProperty added in v0.2.0

type SchemaProperty struct {
	Name        string
	Type        string
	Description string
}

func Prop added in v0.2.0

func Prop(name string, typ string, description string) SchemaProperty

type StreamEvent

type StreamEvent interface {
	// contains filtered or unexported methods
}

type Text added in v0.17.3

type Text struct {
	Body string
}

type Thinking added in v0.17.3

type Thinking struct {
	Body string
}

type ThinkingDelta added in v0.17.3

type ThinkingDelta struct {
	Body string
}

type ToolCallArgs added in v0.17.3

type ToolCallArgs struct {
	Index int
	Body  string
}

type ToolCallStart added in v0.17.3

type ToolCallStart struct {
	Index int
	ID    string
	Name  string
}

type ToolResult added in v0.17.3

type ToolResult struct {
	ToolUseID string
	Body      any
}

type ToolUse added in v0.17.3

type ToolUse struct {
	ID    string
	Name  string
	Input any
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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