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

A similar PR may already be submitted! Please search among the [Pull request](https://github.com/sashabaranov/go-openai/pulls) before creating one. If your changes introduce breaking changes, please prefix the title of your pull request...

Hi, additional_messages (Adds additional messages to the thread before creating the run.) is not exist inside RunRequest Struct, I think it will be useful in library. https://platform.openai.com/docs/api-reference/runs/createRun#runs-createrun-additional_messages You can assign...

enhancement

The OpenAI API reference on Batch API is peculiar insofar [it doesn't](https://platform.openai.com/docs/api-reference/batch/object#batch/object-status) enumerate possible states for batch status. I was surprised to learn that neither did this library (which is...

Our current [.golangci.yml](https://github.com/sashabaranov/go-openai/blob/master/.golangci.yml) is outdated. Originally it is based on [golden gist](https://gist.github.com/maratori/47a4d00457a92aa426dbd48a18776322) which has multiple of new rules added. I've tried updating rules from the new one and got the...

enhancement

I am using `go-openai` to request [Braintrust AI proxy](https://www.braintrust.dev/docs/guides/proxy) which allows to access models from OpenAI, Anthropic, Google, AWS, Mistral, and third-party inference providers through a single, unified API (openai)....

enhancement

Your issue may already be reported! Please search on the [issue tracker](https://github.com/sashabaranov/go-openai/issues) before creating one. **Describe the bug** A clear and concise description of what the bug is. If it's...

bug

I need to return the result without serialization, and hope to add a rawJson field when processline

enhancement