Documentation
¶
Index ¶
- Variables
- func EndSpeech(from string) string
- func NewCharacterSet(from string, words string) string
- func NewClient(apiKey string)
- func NewClientWithConfig(cfg NodeConfig)
- func NewSpeech(from string, words string) string
- func NewSpeechMaxToken(from string, words string, maxToken int) string
- type ChatInstance
- type NodeConfig
Constants ¶
This section is empty.
Variables ¶
View Source
var Chats map[string]ChatInstance
Functions ¶
func NewCharacterSet ¶
func NewClientWithConfig ¶
func NewClientWithConfig(cfg NodeConfig)
Types ¶
type ChatInstance ¶
type NodeConfig ¶
type NodeConfig struct { APIKey string BaseURL string Timeout int TimeoutCallback func(string, int) MaxTokens int HistoryLimit int }
func DefaultConfig ¶
func DefaultConfig(authToken string) NodeConfig
Click to show internal directories.
Click to hide internal directories.