Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var OpenaiCmd = &cobra.Command{
Use: "openai",
Short: "OpenAI commands",
}
Functions ¶
This section is empty.
Types ¶
type EngineInfoCommand ¶
type EngineInfoCommand struct {
*cmds.CommandDescription
}
func NewEngineInfoCommand ¶
func NewEngineInfoCommand() (*EngineInfoCommand, error)
func (*EngineInfoCommand) RunIntoGlazeProcessor ¶
func (c *EngineInfoCommand) RunIntoGlazeProcessor( ctx context.Context, parsedLayers *layers.ParsedLayers, gp middlewares.Processor, ) error
type EngineInfoSettings ¶
type EngineInfoSettings struct {
Engine string `glazed.parameter:"engine"`
}
type ListEnginesCommand ¶
type ListEnginesCommand struct {
*cmds.CommandDescription
}
func NewListEngineCommand ¶
func NewListEngineCommand() (*ListEnginesCommand, error)
func (*ListEnginesCommand) RunIntoGlazeProcessor ¶
func (c *ListEnginesCommand) RunIntoGlazeProcessor( ctx context.Context, parsedLayers *layers.ParsedLayers, gp middlewares.Processor, ) error
type ListEnginesSettings ¶
type TranscribeCommand ¶
type TranscribeCommand struct {
*cmds.CommandDescription
}
func NewTranscribeCommand ¶
func NewTranscribeCommand() (*TranscribeCommand, error)
func (*TranscribeCommand) RunIntoGlazeProcessor ¶
func (c *TranscribeCommand) RunIntoGlazeProcessor( ctx context.Context, parsedLayers *layers.ParsedLayers, gp middlewares.Processor, ) error
type TranscribeSettings ¶
type TranscribeSettings struct { DirPath string `glazed.parameter:"dir"` FilePath string `glazed.parameter:"file"` Workers int `glazed.parameter:"workers"` Model string `glazed.parameter:"model"` Prompt string `glazed.parameter:"prompt"` Language string `glazed.parameter:"language"` Temperature float64 `glazed.parameter:"temperature"` WithSegments bool `glazed.parameter:"with-segments"` }
Click to show internal directories.
Click to hide internal directories.