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. **Describe the bug** A clear and concise description of what the bug is. If it's...

bug

Does it support a summary parameter? From the code, it appears that this parameter is not supported. ![Image](https://github.com/user-attachments/assets/a02796b2-7f46-4d22-90be-01eb706fd98d) ![Image](https://github.com/user-attachments/assets/129b6f57-0039-4806-89cf-f4dbe29863c1)

enhancement

**Describe the change** This adds support for specifying the Service Tier in a chat completion request. **Provide OpenAI documentation link** https://platform.openai.com/docs/api-reference/chat/create#chat-create-service_tier **Describe your solution** - Added `service_tier` to the chat...

model like doubao has a new model seed-1.6. it has a paramemter named "extra_body" https://www.volcengine.com/docs/82379/1449737 ![Image](https://github.com/user-attachments/assets/f6ff357c-85e9-447b-a657-fcfe2263e2af)

enhancement

# Overview In the anthropic sonnet and opus models, the think mode is not returned correctly https://docs.anthropic.com/en/api/messages#body-thinking-budget-tokens # Problem phenomenon ## Curl Request ```bash $ llminvoker_test git:(master) ✗ curl https://api.anthropic.com/v1/messages...

enhancement

**Describe the change** TopK is well-used paramater for provider which uses OpenAI-compatible API format. This commit add the `top_k` parameter. **Provide OpenAI documentation link** Provide a relevant API doc from...

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...

**Describe the change** This PR refactors the `ChatCompletionStream` to use dependency injection by introducing a `ChatStreamReader` interface. This allows for injecting custom stream readers, primarily for testing purposes, making the...

We had codecov broken for some time, and now it seems that we're missing test coverage in a couple of places https://app.codecov.io/gh/sashabaranov/go-openai

good first issue
stale

Hi! I'm Sergey from the Integrations team over at [AI/ML API](https://aimlapi.com/), a startup with 150K+ users, providing over 300 AI models in one place Your project looks dope, so we'd...

enhancement