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 |
|---|---|
|
Code generated by generate.go; DO NOT EDIT.
|
Code generated by generate.go; DO NOT EDIT. |
|
internal/example
command
|
|
|
internal/generate
command
|
Click to show internal directories.
Click to hide internal directories.