llm

package
v0.48.4 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2026 License: MIT Imports: 2 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 = content.Content

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 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 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 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
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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