go-gpt3
go-gpt3 copied to clipboard
An OpenAI GPT-3 API client enabling Go/Golang programs to interact with the gpt3 APIs.
#42 For the text completions of openai the following models are deprecated as of 2024-01-04 ``` TextAda001Engine = "text-ada-001" TextBabbage001Engine = "text-babbage-001" TextCurie001Engine = "text-curie-001" TextDavinci001Engine = "text-davinci-001" TextDavinci002Engine =...
For the text completions of openai the following models are deprecated as of 2024-01-04 TextAda001Engine = "text-ada-001" TextBabbage001Engine = "text-babbage-001" TextCurie001Engine = "text-curie-001" TextDavinci001Engine = "text-davinci-001" TextDavinci002Engine = "text-davinci-002" TextDavinci003Engine...
The new model `gpt-4-1106-vision-preview` can take an image as input and work on the image. Is this something easy/possible to do with this library?
Add some update with newest offcial api documentation
hello The code reported an error: “context deadline exceeded (Client.Timeout or context cancellation while reading body)”
Hello, when I use the `CompletionStreamWithEngine` function I notice that all token values are marked as 0. Is it safe to assume that every message that is streamed is a...
Can you briefly explain and add to the README how your librayr compares to https://github.com/sashabaranov/go-gpt3 ? Thanks!
Refactored each API into it's own file and added three new APIs. I also removed the `Engines` API as it is now deprecated. **Changes** - [x] Implement Models API -...
Make `gpt3.NewClient(api_key)` return client and error if there is an auth error
OpenAI's /engine/{engine_id} endpoints have been deprecated. In fact, the concept of "engines" has been deprecated (https://help.openai.com/en/articles/6283125-what-happened-to-engines). Instead, OpenAI is using "model" now to reference what was previously an engine. As...