package
1.63.84
Repository: https://github.com/aliyun/alibaba-cloud-sdk-go.git
Documentation: pkg.go.dev

# Functions

CreateChatRequest creates a request to invoke Chat API.
CreateChatResponse creates a response to parse from Chat response.
NewClient creates a sdk client with environment variables.
NewClientWithAccessKey is a shortcut to create sdk client with accesskey usage: https://help.aliyun.com/document_detail/66217.html.
NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role usage: https://help.aliyun.com/document_detail/66223.html.
NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential this is the common api to create a sdk client.
NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn usage: https://help.aliyun.com/document_detail/66222.html.
NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair attention: rsa key pair auth is only Japan regions available.
NewClientWithStsToken is a shortcut to create sdk client with sts token usage: https://help.aliyun.com/document_detail/66222.html.

# Structs

ChatRequest is the request struct for api Chat.
ChatResponse is the response struct for api Chat.
Client is the sdk client struct, each func corresponds to an OpenAPI.
Knowledge is a nested struct in chatbot response.
Message is a nested struct in chatbot response.
Messages is a nested struct in chatbot response.
Recommend is a nested struct in chatbot response.
Recommends is a nested struct in chatbot response.
Text is a nested struct in chatbot response.