package
1.12.6
Repository: https://github.com/go-dev-frame/sponge.git
Documentation: pkg.go.dev

# Functions

NewClient creates a new chat client.
WithMaxTokens sets the maximum number of tokens.
WithModel sets the model name.
WithRole sets the role type.
WithTemperature sets the temperature.
WithUseContext sets assistant context.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
default.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Client is a chat GPT client.
StreamReply reply with stream response.

# Type aliases

ClientOption is a function that sets a Client option.