Documentation
¶
Index ¶
Constants ¶
View Source
const ( BaseURL = "https://open.bigmodel.cn/api/paas/v3/model-api" InvokeTypeSync = "invoke" InvokeTypeAsync = "async-invoke" InvokeTypeSSE = "sse-invoke" APITimeout = 300 * time.Second ChatGLMLite = "chatglm_lite" ChatGLMStd = "chatglm_std" ChatGLMPro = "chatglm_pro" )
View Source
const ( APITokenTTLSeconds = 3 * 60 APIKeyPartCount = 2 )
Variables ¶
This section is empty.
Functions ¶
func QueryAsyncInvokeResult ¶ added in v0.1.0
Types ¶
Click to show internal directories.
Click to hide internal directories.