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

OpenAI API + Ruby! 🤖❤️ NEW: Assistant Vector Stores

Results 69 ruby-openai issues
Sort by recently updated
recently updated
newest added

This API allows returning the files of a given message like the following example: ```ruby files = messages.files(thread_id: thread_id, id: message_id) ``` ### Full example You can also try a...

This adds support for the new [OpenAI Assistant Files API](https://platform.openai.com/docs/api-reference/assistants/file-object). It is dependent on #361. I have rebased off of that.

Solve the problem of incomplete return value of graphic dialogue ## All Submissions: * [x] Have you followed the guidelines in our [Contributing document](../blob/main/CONTRIBUTING.md)? * [x] Have you checked to...

**Is your feature request related to a problem? Please describe.** I'm the maintainer of [Instructor](https://jxnl.github.io/instructor/) which uses pydantic (python's validation) library to improve the sdk usaibility. If I wanted to...

File upload method accepts only path to the local file as a parameter. This is problematic for files from ActiveStorage, where file usually reside in the cloud. This PR addresses...

I noticed that in the recent commit (dc4d1c6b8d0d52ae5897e8203912b9b047ac981f) on https://github.com/alexrudall/ruby-openai, the processing for JSON.parse within the json_post method seems to have been removed. Could you please clarify the reason behind...

Bumps [faraday](https://github.com/lostisland/faraday) from 2.7.12 to 2.8.1. Release notes Sourced from faraday's releases. v2.8.1 What's Changed Fix: Add back support for Hash#pretty_inspect by @​olleolleolle in lostisland/faraday#1540 Full Changelog: https://github.com/lostisland/faraday/compare/v2.8.0...v2.8.1 v2.8.0 What's...

dependencies

This enables support for calling multiple azure deployments when using the library. This follows the same convention as the official python openai package. So `client.embeddings(deployment_id: 'my-gpt-deployment', ...rest_of_args)` Since a embedding...

azure

**Describe the bug** When working with the Azure OpenAI service, we seem to be running into occasional "JSON::ParserError" errors. These don't happen frequently, but if you run a script that...

This change adds a small update to the README file that documents how to use the `messages.modify` method to update the metadata for an assistant run's message. ## All Submissions:...