go-openai icon indicating copy to clipboard operation
go-openai copied to clipboard

OpenAI ChatGPT, GPT-3, GPT-4, DALL·E, Whisper API wrapper for Go

Results 277 go-openai issues
Sort by recently updated
recently updated
newest added

Based on a request from #27, we should introduce a mocked server which tests that values are correctly sent by `go-gpt3` and received by the server, as well as the...

We should track code coverage of the `go-gpt3` client with a tool such as `codecov`.

Hey! Is it possible to add the option to specify a file ID in the `SearchRequest` and the `return_metadata`? https://beta.openai.com/docs/api-reference/searches/create#searches/create-file

The 'omitempty' option of the request structs should be removed. This is because it generates an incorrect request when a parameter is 0. For example, a request with the temperate...

bug

Please forgive me if I am asking an insanely stupid question. I got the go-gpt3 code, then copied verbatim the example usage, and when I try to run the example...

- Because the test files are all written in one file, I think it is unreasonable to make changes - File upload test - Add image edit api and corresponding...

Use Go to implement this function: https://platform.openai.com/tokenizer

enhancement

I'm trying to get started with the example from the readme file. I'm pretty sure that I'm providing the correct API key but it gives me the following error: ```text...

I am getting a wide variety of results from GPT, but my temperature is 0. I'm using a custom-trained model. I contacted GPT/openai, but their customer support seems to be...

![image](https://user-images.githubusercontent.com/36840497/222753483-efa4908f-ad6a-448b-83dc-ec20851b3a58.png) Maybe there are some error. Should we change the field's name from CreatedAt to Created?