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

Your issue may already be reported! Please search on the [issue tracker](https://github.com/sashabaranov/go-openai/issues) before creating one. **Is your feature request related to a problem? Please describe.** A clear and concise description...

enhancement

Your issue may already be reported! Please search on the [issue tracker](https://github.com/sashabaranov/go-openai/issues) before creating one. **Is your feature request related to a problem? Please describe.** A clear and concise description...

enhancement

Your issue may already be reported! Please search on the [issue tracker](https://github.com/sashabaranov/go-openai/issues) before creating one. **Is your feature request related to a problem? Please describe.** I would like to be...

enhancement

**Describe the change** The checkPromptType function has been updated to support validation of []interface{} slices, ensuring that each element in the slice is of type string. Currently if list of...

json: cannot unmarshal object into Go struct field ChatCompletionResponseFormatJSONSchema.response_format.json_schema.schema of type json.Marshaler github.com/sashabaranov/go-openai v1.32.3

bug

**Describe the change** Like #844, In ChatCompletionStream.delta the refusal and logprobs field is missing **Provide OpenAI documentation link** [Provide a relevant API doc from https://platform.openai.com/docs/api-reference](https://platform.openai.com/docs/api-reference/chat/streaming#chat/streaming-choices) **Describe your solution** Add Refusal...

**Describe the change** FileIDs on ThreadMessage isn't supported anymore, but Content can be an array. **Provide OpenAI documentation link** https://platform.openai.com/docs/api-reference/threads/createThread **Describe your solution** Remove old fields and update existing ones...

https://platform.openai.com/docs/guides/realtime it uses websockets to get and set audio files from gpt-4o-realtime.

enhancement

Your issue may already be reported! Please search on the [issue tracker](https://github.com/sashabaranov/go-openai/issues) before creating one. **Is your feature request related to a problem? Please describe.** A clear and concise description...

enhancement

Support streaming responses for Assistants, as in PR https://github.com/sashabaranov/go-openai/pull/713

enhancement