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 ¶ added in v0.1.7
type EngineInfoCommand struct {
*cmds.CommandDescription
}
func NewEngineInfoCommand ¶ added in v0.1.7
func NewEngineInfoCommand() (*EngineInfoCommand, error)
func (*EngineInfoCommand) RunIntoGlazeProcessor ¶ added in v0.3.0
func (c *EngineInfoCommand) RunIntoGlazeProcessor( ctx context.Context, parsedLayers *layers.ParsedLayers, gp middlewares.Processor, ) error
type EngineInfoSettings ¶ added in v0.3.0
type EngineInfoSettings struct {
Engine string `glazed.parameter:"engine"`
}
type ListEnginesCommand ¶ added in v0.1.7
type ListEnginesCommand struct {
*cmds.CommandDescription
}
func NewListEngineCommand ¶ added in v0.1.7
func NewListEngineCommand() (*ListEnginesCommand, error)
func (*ListEnginesCommand) RunIntoGlazeProcessor ¶ added in v0.3.0
func (c *ListEnginesCommand) RunIntoGlazeProcessor( ctx context.Context, parsedLayers *layers.ParsedLayers, gp middlewares.Processor, ) error
type ListEnginesSettings ¶ added in v0.3.0
type TranscribeCommand ¶ added in v0.2.18
type TranscribeCommand struct {
*cmds.CommandDescription
}
func NewTranscribeCommand ¶ added in v0.2.18
func NewTranscribeCommand() (*TranscribeCommand, error)
func (*TranscribeCommand) RunIntoGlazeProcessor ¶ added in v0.3.0
func (c *TranscribeCommand) RunIntoGlazeProcessor( ctx context.Context, parsedLayers *layers.ParsedLayers, gp middlewares.Processor, ) error
type TranscribeSettings ¶ added in v0.3.0
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.