class OpenAI::Threads
def create(parameters: {})
def create(parameters: {}) @client.json_post(path: "/threads", parameters: parameters) end
def delete(id:)
def delete(id:) @client.delete(path: "/threads/#{id}") end
def initialize(client:)
def initialize(client:) @client = client.beta(assistants: OpenAI::Assistants::BETA_VERSION) end
def modify(id:, parameters: {})
def modify(id:, parameters: {}) @client.json_post(path: "/threads/#{id}", parameters: parameters) end
def retrieve(id:)
def retrieve(id:) @client.get(path: "/threads/#{id}") end