Documentation ¶ Index ¶ type Source func NewSource(options *internal.Options) (*Source, error) func (s Source) ChatGenerate() (*internal.Result, error) func (s Source) ListModels() (*internal.Result, error) func (s Source) StreamChatGenerate() (*internal.Result, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Source ¶ type Source struct { // contains filtered or unexported fields } func NewSource ¶ func NewSource(options *internal.Options) (*Source, error) func (Source) ChatGenerate ¶ func (s Source) ChatGenerate() (*internal.Result, error) func (Source) ListModels ¶ func (s Source) ListModels() (*internal.Result, error) func (Source) StreamChatGenerate ¶ func (s Source) StreamChatGenerate() (*internal.Result, error) Source Files ¶ View all Source files openai.go Click to show internal directories. Click to hide internal directories.