llm_driver_chatgpt

package
v0.3.71 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 17, 2025 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

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)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL