Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface {
Config() Config
GenerateChannelSuggestions(ctx context.Context, messages [][]string) (string, error)
CreateRunbook(ctx context.Context, service string, alert string, msgs []schema.ThreadMessagesV2) (string, error)
UpdateRunbook(ctx context.Context, runbook schema.IncidentRunbook, msgs []schema.ThreadMessagesV2) (string, error)
GenerateEmbedding(ctx context.Context, task string, text string) ([]float32, error)
RunJSONModePrompt(ctx context.Context, prompt string, schema *jsonschema.Schema) (string, error)
}
Click to show internal directories.
Click to hide internal directories.