Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

Latest commit

 

History

History
36 lines (30 loc) · 2.03 KB

AssistantObject.md

File metadata and controls

36 lines (30 loc) · 2.03 KB

OpenapiClient::AssistantObject

Properties

Name Type Description Notes
id String The identifier, which can be referenced in API endpoints.
object String The object type, which is always `assistant`.
created_at Integer The Unix timestamp (in seconds) for when the assistant was created.
name String The name of the assistant. The maximum length is 256 characters.
description String The description of the assistant. The maximum length is 512 characters.
model String ID of the model to use. You can use the List models API to see all of your available models, or see our Model overview for descriptions of them.
instructions String The system instructions that the assistant uses. The maximum length is 32768 characters.
tools Array<AssistantObjectToolsInner> A list of tool enabled on the assistant. There can be a maximum of 128 tools per assistant. Tools can be of types `code_interpreter`, `retrieval`, or `function`.
file_ids Array<String> A list of file IDs attached to this assistant. There can be a maximum of 20 files attached to the assistant. Files are ordered by their creation date in ascending order.
metadata Object Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maxium of 512 characters long.

Example

require 'openapi_client'

instance = OpenapiClient::AssistantObject.new(
  id: null,
  object: null,
  created_at: null,
  name: null,
  description: null,
  model: null,
  instructions: null,
  tools: null,
  file_ids: null,
  metadata: null
)