Documentation
¶
Overview ¶
Package genkitadapter keeps Genkit-specific Assist wiring out of the core public assist package. Hosts can wrap their own Genkit flow callback here without making pkg/speechkit/assist import Genkit directly.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenerateFunc ¶
type GenerateFunc func(context.Context, speechkit.AssistRequest) (speechkit.AssistResult, error)
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
func NewGenerator ¶
func NewGenerator(generate GenerateFunc) *Generator
func (*Generator) GenerateAssist ¶
func (g *Generator) GenerateAssist(ctx context.Context, req speechkit.AssistRequest) (speechkit.AssistResult, error)
Click to show internal directories.
Click to hide internal directories.