translate

package
v0.0.0-...-b4488a0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrFailedToTranslate = errors.New("failed to translate")
)

Functions

func Translate

func Translate(ctx context.Context, l llm.Model, input, targetLanguage string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL