package
0.1.18
Repository: https://github.com/liudding/go-llm-api.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
NewClient creates new Tencent Hunyuan AI API client.
NewClientWithConfig creates new OpenAI API client for specified config.

# Constants

No description provided by the author
No description provided by the author

# Variables

# Structs

APIError provides error information returned API.
No description provided by the author
No description provided by the author
ChatCompletionFullRequest represents a request structure for chat completion API.
No description provided by the author
ChatCompletionRequest represents a request structure for chat completion API.
ChatCompletionResponse represents a response structure for chat completion API.
ChatCompletionStream Note: Perhaps it is more elegant to abstract Stream using generics.
No description provided by the author
No description provided by the author
ClientConfig is a configuration of a client.
No description provided by the author
RequestError provides informations about generic request errors.
ResponseError :错误信息.
No description provided by the author