flows

package
v0.0.0-...-93ac733 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 23, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const TranslationFlowName = "TranslationFlow"

Variables

This section is empty.

Functions

func TranslationFlow

func TranslationFlow(g *genkit.Genkit)

Types

type TranslationInput

type TranslationInput struct {
	Text   string `json:"text"`
	Source string `json:"source"`
	Target string `json:"target"`
	Domain string `json:"domain"`
}

type TranslationOutput

type TranslationOutput struct {
	Translated string `json:"translated"`
}