Documentation
¶
Index ¶
- type ChatGPTAPI
- func (instance *ChatGPTAPI) GetOptions() (response *llm_commons2.LLMDriverOptions)
- func (instance *ChatGPTAPI) SetAccessKey(value string) *ChatGPTAPI
- func (instance *ChatGPTAPI) Submit(request *llm_commons2.LLMRequest) (response *llm_commons2.LLMResponse, err error)
- func (instance *ChatGPTAPI) Uid() (response string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChatGPTAPI ¶
type ChatGPTAPI struct {
// contains filtered or unexported fields
}
ChatGPTAPI represents a structure for configuring and interacting with the ChatGPT service. WEB: https://platform.openai.com/docs/overview?lang=curl
func NewChatGPTAPI ¶
func NewChatGPTAPI(args ...interface{}) (instance *ChatGPTAPI, err error)
func (*ChatGPTAPI) GetOptions ¶
func (instance *ChatGPTAPI) GetOptions() (response *llm_commons2.LLMDriverOptions)
func (*ChatGPTAPI) SetAccessKey ¶
func (instance *ChatGPTAPI) SetAccessKey(value string) *ChatGPTAPI
func (*ChatGPTAPI) Submit ¶
func (instance *ChatGPTAPI) Submit(request *llm_commons2.LLMRequest) (response *llm_commons2.LLMResponse, err error)
func (*ChatGPTAPI) Uid ¶
func (instance *ChatGPTAPI) Uid() (response string)
Click to show internal directories.
Click to hide internal directories.