model

package
v0.0.0-...-d01fd15 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ExplainTemplate = "explain.tmpl"
)

Variables

This section is empty.

Functions

func GetPromptByString

func GetPromptByString(name string, data map[string]any) (string, error)

GetPromptByString get template by string.

Types

type Word

type Word struct {
	Text string `json:"text"`
}

Word is an entity for word.

Jump to

Keyboard shortcuts

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