Sha256: b0c2a9f3d05a0b82625435d9c2abc7de0f0ccd1701bb49ad17164b65575d1ce1
Contents?: true
Size: 472 Bytes
Versions: 3
Compression:
Stored size: 472 Bytes
Contents
module OpenAI class RunSteps def initialize(client:) @client = client.beta(assistants: OpenAI::Assistants::BETA_VERSION) end def list(thread_id:, run_id:, parameters: {}) @client.get(path: "/threads/#{thread_id}/runs/#{run_id}/steps", parameters: parameters) end def retrieve(thread_id:, run_id:, id:, parameters: {}) @client.get(path: "/threads/#{thread_id}/runs/#{run_id}/steps/#{id}", parameters: parameters) end end end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
es_cli-0.1.0 | vendor/bundle/ruby/3.1.0/gems/ruby-openai-7.3.1/lib/openai/run_steps.rb |
ruby-openai-7.3.1 | lib/openai/run_steps.rb |
ruby-openai-7.3.0 | lib/openai/run_steps.rb |