Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrTooManyEmptyStreamMessages = errors.New("stream has sent too many empty messages") ErrChatCompletionInvalidModel = errors.New("this model is not supported with this method, please use CreateCompletion client method instead") ErrChatCompletionStreamNotSupported = errors.New("streaming is not supported with this method, please use CreateChatCompletionStream") ErrFailedToUnmarshalJSON = errors.New("failed to unmarshal json response") ErrAPIKeyIsEmpty = errors.New("api key is empty") ErrFileIsInvalidFormat = errors.New("file format is invalid, please create jsonl file and check training example: https://platform.openai.com/docs/guides/fine-tuning/prepare-training-data") )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.