open

package
v0.0.0-...-9c07e03 Latest Latest
Warning

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

Go to latest
Published: May 26, 2026 License: 0BSD Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AI

type AI struct {
	api.Specification `api:"OpenAI"`

	Error api.Register[error, struct {
		ai.Error `json:"error"`
	}]

	Chat struct {
		CreateChatCompletion func(context.Context, ai.ChatCompletionRequest) (ai.ChatCompletion, error) `rest:"POST /chat/completions"
			creates a model response for the given chat conversation.`
	}
}

Directories

Path Synopsis
gl
Code generated by generate.go; DO NOT EDIT.
Code generated by generate.go; DO NOT EDIT.

Jump to

Keyboard shortcuts

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