llm

package
v0.26.2 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package llm contains shared types for interacting with language model APIs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dialect

type Dialect string

Dialect identifies the API format used by an LLM provider.

const (
	// DialectAnthropicMessages is the Anthropic Messages API format.
	DialectAnthropicMessages Dialect = "AnthropicMessages"
	// DialectOpenAIResponses is the OpenAI Responses API format.
	DialectOpenAIResponses Dialect = "OpenAIResponses"
	// DialectOpenResponses is the provider-neutral OpenResponses API format.
	DialectOpenResponses Dialect = "OpenResponses"
	// DialectOpenAIChatCompletions is the OpenAI Chat Completions API format.
	DialectOpenAIChatCompletions Dialect = "OpenAIChatCompletions"
)

Jump to

Keyboard shortcuts

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