Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OpenAIClient ¶
type OpenAIClient struct {
// contains filtered or unexported fields
}
func New ¶
func New(url string, apiKey string, sender sender) *OpenAIClient
func (*OpenAIClient) CallAPI ¶
func (o *OpenAIClient) CallAPI(chat entities.ChatRequest) (int, error)
Click to show internal directories.
Click to hide internal directories.