Documentation
¶
Index ¶
- Variables
- func Chat(msg string, opts ...aispec.AIConfigOption) (string, error)
- func ChatGLM(opts ...aispec.AIConfigOption) aispec.AIGateway
- func FunctionCall(input string, funcs any, opts ...aispec.AIConfigOption) (map[string]any, error)
- func GetAI(t string, opts ...aispec.AIConfigOption) aispec.AIGateway
- func GetPrimaryAgent() aispec.AIGateway
- func HaveAI(t string) bool
- func Moonshot(opts ...aispec.AIConfigOption) aispec.AIGateway
- func OpenAI(opts ...aispec.AIConfigOption) aispec.AIGateway
Constants ¶
This section is empty.
Variables ¶
View Source
var Exports = map[string]any{ "OpenAI": OpenAI, "ChatGLM": ChatGLM, "Moonshot": Moonshot, "Chat": Chat, "FunctionCall": FunctionCall, "timeout": aispec.WithTimeout, "proxy": aispec.WithProxy, "model": aispec.WithModel, "apiKey": aispec.WithAPIKey, "noHttps": aispec.WithNoHttps, "funcCallRetryTimes": aispec.WithFunctionCallRetryTimes, "domain": aispec.WithDomain, "baseURL": aispec.WithBaseURL, "onStream": aispec.WithStreamHandler, "debugStream": aispec.WithDebugStream, "type": aispec.WithType, }
Functions ¶
func FunctionCall ¶
func GetPrimaryAgent ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.