You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that the deployed version of the gem doesn't match what is currently on the main branch as v0.1.3. Are there plans to push up a new version with the latest API?
[1]pry(main)> show-sourceInstructorFrom: /Users/markfaga/.asdf/installs/ruby/3.3.5/lib/ruby/gems/3.3.0/gems/instructor-rb-0.1.3/lib/instructor.rb:11Modulename: InstructorNumberoflines: 25moduleInstructor@mode=nilclassError < ::StandardError;end# The ValidationError class represents an error that occurs during validation.classValidationError < ::StandardError;enddefself.mode@modeend# Patches the OpenAI client to add the following functionality:# - Retries on exceptions# - Accepts and validates a response model# - Accepts a validation_context argument## @param openai_client [OpenAI::Client] The OpenAI client to be patched.# @param mode [Symbol] The mode to be used. Default is `Instructor::Mode::TOOLS.function`.# @return [OpenAI::Client] The patched OpenAI client.defself.patch(openai_client,mode: Instructor::Mode::TOOLS.function)@mode=modeopenai_client.prepend(Instructor::OpenAI::Patch)endend
The text was updated successfully, but these errors were encountered:
I noticed that the deployed version of the gem doesn't match what is currently on the
main
branch asv0.1.3
. Are there plans to push up a new version with the latest API?The text was updated successfully, but these errors were encountered: