Documentation ¶
Index ¶
- func Chat(aiConf *ai.AIConfig, messages []ai.ChatMessage, callback func(string), ...) (ai.ChatResult, error)
- func Embedding(aiConf *ai.AIConfig, text string, embeddingConf ai.EmbeddingConfig) (ai.EmbeddingResult, error)
- func GetVideoResult(aiConf *ai.AIConfig, taskId string, waitSeconds int) (ai.VideoResult, error)
- func MakeImage(aiConf *ai.AIConfig, conf ai.ImageConfig) (ai.ImageResult, error)
- func MakeVideo(aiConf *ai.AIConfig, conf ai.VideoConfig) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Chat ¶ added in v0.0.3
func Chat(aiConf *ai.AIConfig, messages []ai.ChatMessage, callback func(string), conf ai.ChatConfig) (ai.ChatResult, error)
func Embedding ¶ added in v0.0.3
func Embedding(aiConf *ai.AIConfig, text string, embeddingConf ai.EmbeddingConfig) (ai.EmbeddingResult, error)
func GetVideoResult ¶ added in v0.0.3
func MakeImage ¶ added in v0.0.3
func MakeImage(aiConf *ai.AIConfig, conf ai.ImageConfig) (ai.ImageResult, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.