openaidiag

package
v1.32.1 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrEmptyOutput   = errors.New("llm: openai empty output")
	ErrRefusalOutput = errors.New("llm: openai refusal output")
)

Functions

func PreferredText

func PreferredText(resp *responses.Response, text string) (string, error)

func SafeError

func SafeError(err error) error

func Text

func Text(resp *responses.Response) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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