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

Latest commit

 

History

History
30 lines (24 loc) · 1.58 KB

CreateAssistantRequest.md

File metadata and controls

30 lines (24 loc) · 1.58 KB

OpenapiClient::CreateAssistantRequest

Properties

Name Type Description Notes
model String
name String The name of the assistant. The maximum length is 256 characters. [optional]
description String The description of the assistant. The maximum length is 512 characters. [optional]
instructions String The system instructions that the assistant uses. The maximum length is 32768 characters. [optional]
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`. [optional]
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. [optional]
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. [optional]

Example

require 'openapi_client'

instance = OpenapiClient::CreateAssistantRequest.new(
  model: null,
  name: null,
  description: null,
  instructions: null,
  tools: null,
  file_ids: null,
  metadata: null
)