ruby-openai
ruby-openai copied to clipboard
OpenAI API + Ruby! 🤖❤️ NEW: Assistant Vector Stores
Currently, I don't think this library has support to include organization id `curl https://api.openai.com/v1/models \ -H 'Authorization: Bearer YOUR_API_KEY' \ -H 'OpenAI-Organization: org-sgDVddZhv965GLodgIQVRoUD'` Can we also take this as an...
Any plans to add https://beta.openai.com/docs/guides/images/introduction ?
The main goal of this change is to provide a way to get dynamic auth tokens into the client. The most common use-case for this is with Azure, when the...
This change addresses the [issue](https://github.com/alexrudall/ruby-openai/issues/452). `tool_calls` is an array, so we must access the first index when retrieving values. Furthermore, the `tool_choice` key was left out of the documentation, causing...
**Describe the bug** The README example of using functions does not mention the tool choice parameter, which intermittently caused issues during implementation. Sometimes, the API would use our function, resulting...
Summary: Solves [Assistants Support for Azure's new API version 2024-02-15-preview #430 ](https://github.com/alexrudall/ruby-openai/issues/430) Tested in my own local application and the URI with the deployment id omitted unblocks the whole process...
The list messages call in the OpenAI API takes some optional parameters like limit, order, after and before. It would be good to be able to pass these in: def...
There are a lot of other AI vendors that have provided OpenAI compatible chat completions API. It would be nice if we could utilise this library to use them as...
## Summary - Support API create a thread and run in one request ## Usage ```ruby OpenAI::Client.new.runs.create_thread_and_run( parameters: { assistant_id: assistant_id, thread: { messages: [{ role: "user", content: "Describe a...
**Describe the bug** Reading files such as pngs that are generated by code interpreter seem to fail as the response is expected to be JSON Doc reference this to read...