diff --git a/.stats.yml b/.stats.yml index 68789976..67778eef 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 68 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai-71e58a77027c67e003fdd1b1ac8ac11557d8bfabc7666d1a827c6b1ca8ab98b5.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai-8ad878332083dd506a478a293db78dc9e7b1b2124f2682e1d991225bc5bbcc3b.yml diff --git a/batch.go b/batch.go index 14a25093..94f07dbb 100644 --- a/batch.go +++ b/batch.go @@ -128,7 +128,7 @@ type Batch struct { InProgressAt int64 `json:"in_progress_at"` // 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 + // can be a maximum of 64 characters long and values can be a maximum of 512 // characters long. Metadata interface{} `json:"metadata,nullable"` // The ID of the file containing the outputs of successfully executed requests. diff --git a/betaassistant.go b/betaassistant.go index 148f5a1a..2a8f989e 100644 --- a/betaassistant.go +++ b/betaassistant.go @@ -119,7 +119,7 @@ type Assistant struct { Instructions string `json:"instructions,required,nullable"` // 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 + // can be a maximum of 64 characters long and values can be a maximum of 512 // characters long. Metadata interface{} `json:"metadata,required,nullable"` // ID of the model to use. You can use the @@ -2063,7 +2063,7 @@ type BetaAssistantNewParams struct { Instructions param.Field[string] `json:"instructions"` // 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 + // can be a maximum of 64 characters long and values can be a maximum of 512 // characters long. Metadata param.Field[interface{}] `json:"metadata"` // The name of the assistant. The maximum length is 256 characters. @@ -2144,7 +2144,7 @@ type BetaAssistantNewParamsToolResourcesFileSearchVectorStore struct { FileIDs param.Field[[]string] `json:"file_ids"` // Set of 16 key-value pairs that can be attached to a vector store. This can be // useful for storing additional information about the vector store in a structured - // format. Keys can be a maximum of 64 characters long and values can be a maxium + // format. Keys can be a maximum of 64 characters long and values can be a maximum // of 512 characters long. Metadata param.Field[interface{}] `json:"metadata"` } @@ -2161,7 +2161,7 @@ type BetaAssistantUpdateParams struct { Instructions param.Field[string] `json:"instructions"` // 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 + // can be a maximum of 64 characters long and values can be a maximum of 512 // characters long. Metadata param.Field[interface{}] `json:"metadata"` // ID of the model to use. You can use the diff --git a/betathread.go b/betathread.go index 9ac32615..c192c15b 100644 --- a/betathread.go +++ b/betathread.go @@ -270,7 +270,7 @@ type Thread struct { CreatedAt int64 `json:"created_at,required"` // 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 + // can be a maximum of 64 characters long and values can be a maximum of 512 // characters long. Metadata interface{} `json:"metadata,required,nullable"` // The object type, which is always `thread`. @@ -437,7 +437,7 @@ type BetaThreadNewParams struct { Messages param.Field[[]BetaThreadNewParamsMessage] `json:"messages"` // 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 + // can be a maximum of 64 characters long and values can be a maximum of 512 // characters long. Metadata param.Field[interface{}] `json:"metadata"` // A set of resources that are made available to the assistant's tools in this @@ -468,7 +468,7 @@ type BetaThreadNewParamsMessage struct { Attachments param.Field[[]BetaThreadNewParamsMessagesAttachment] `json:"attachments"` // 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 + // can be a maximum of 64 characters long and values can be a maximum of 512 // characters long. Metadata param.Field[interface{}] `json:"metadata"` } @@ -622,7 +622,7 @@ type BetaThreadNewParamsToolResourcesFileSearchVectorStore struct { FileIDs param.Field[[]string] `json:"file_ids"` // Set of 16 key-value pairs that can be attached to a vector store. This can be // useful for storing additional information about the vector store in a structured - // format. Keys can be a maximum of 64 characters long and values can be a maxium + // format. Keys can be a maximum of 64 characters long and values can be a maximum // of 512 characters long. Metadata param.Field[interface{}] `json:"metadata"` } @@ -634,7 +634,7 @@ func (r BetaThreadNewParamsToolResourcesFileSearchVectorStore) MarshalJSON() (da type BetaThreadUpdateParams struct { // 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 + // can be a maximum of 64 characters long and values can be a maximum of 512 // characters long. Metadata param.Field[interface{}] `json:"metadata"` // A set of resources that are made available to the assistant's tools in this @@ -706,7 +706,7 @@ type BetaThreadNewAndRunParams struct { MaxPromptTokens param.Field[int64] `json:"max_prompt_tokens"` // 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 + // can be a maximum of 64 characters long and values can be a maximum of 512 // characters long. Metadata param.Field[interface{}] `json:"metadata"` // The ID of the [Model](https://platform.openai.com/docs/api-reference/models) to @@ -762,7 +762,7 @@ type BetaThreadNewAndRunParamsThread struct { Messages param.Field[[]BetaThreadNewAndRunParamsThreadMessage] `json:"messages"` // 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 + // can be a maximum of 64 characters long and values can be a maximum of 512 // characters long. Metadata param.Field[interface{}] `json:"metadata"` // A set of resources that are made available to the assistant's tools in this @@ -793,7 +793,7 @@ type BetaThreadNewAndRunParamsThreadMessage struct { Attachments param.Field[[]BetaThreadNewAndRunParamsThreadMessagesAttachment] `json:"attachments"` // 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 + // can be a maximum of 64 characters long and values can be a maximum of 512 // characters long. Metadata param.Field[interface{}] `json:"metadata"` } @@ -947,7 +947,7 @@ type BetaThreadNewAndRunParamsThreadToolResourcesFileSearchVectorStore struct { FileIDs param.Field[[]string] `json:"file_ids"` // Set of 16 key-value pairs that can be attached to a vector store. This can be // useful for storing additional information about the vector store in a structured - // format. Keys can be a maximum of 64 characters long and values can be a maxium + // format. Keys can be a maximum of 64 characters long and values can be a maximum // of 512 characters long. Metadata param.Field[interface{}] `json:"metadata"` } diff --git a/betathreadmessage.go b/betathreadmessage.go index 1f719eae..eab161ff 100644 --- a/betathreadmessage.go +++ b/betathreadmessage.go @@ -1047,7 +1047,7 @@ type Message struct { IncompleteDetails MessageIncompleteDetails `json:"incomplete_details,required,nullable"` // 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 + // can be a maximum of 64 characters long and values can be a maximum of 512 // characters long. Metadata interface{} `json:"metadata,required,nullable"` // The object type, which is always `thread.message`. @@ -1961,7 +1961,7 @@ type BetaThreadMessageNewParams struct { Attachments param.Field[[]BetaThreadMessageNewParamsAttachment] `json:"attachments"` // 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 + // can be a maximum of 64 characters long and values can be a maximum of 512 // characters long. Metadata param.Field[interface{}] `json:"metadata"` } @@ -2067,7 +2067,7 @@ func (r BetaThreadMessageNewParamsAttachmentsToolsType) IsKnown() bool { type BetaThreadMessageUpdateParams struct { // 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 + // can be a maximum of 64 characters long and values can be a maximum of 512 // characters long. Metadata param.Field[interface{}] `json:"metadata"` } diff --git a/betathreadrun.go b/betathreadrun.go index 9b298b85..f2f4f40b 100644 --- a/betathreadrun.go +++ b/betathreadrun.go @@ -297,7 +297,7 @@ type Run struct { MaxPromptTokens int64 `json:"max_prompt_tokens,required,nullable"` // 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 + // can be a maximum of 64 characters long and values can be a maximum of 512 // characters long. Metadata interface{} `json:"metadata,required,nullable"` // The model that the @@ -692,7 +692,7 @@ type BetaThreadRunNewParams struct { MaxPromptTokens param.Field[int64] `json:"max_prompt_tokens"` // 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 + // can be a maximum of 64 characters long and values can be a maximum of 512 // characters long. Metadata param.Field[interface{}] `json:"metadata"` // The ID of the [Model](https://platform.openai.com/docs/api-reference/models) to @@ -759,7 +759,7 @@ type BetaThreadRunNewParamsAdditionalMessage struct { Attachments param.Field[[]BetaThreadRunNewParamsAdditionalMessagesAttachment] `json:"attachments"` // 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 + // can be a maximum of 64 characters long and values can be a maximum of 512 // characters long. Metadata param.Field[interface{}] `json:"metadata"` } @@ -901,7 +901,7 @@ func (r BetaThreadRunNewParamsTruncationStrategyType) IsKnown() bool { type BetaThreadRunUpdateParams struct { // 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 + // can be a maximum of 64 characters long and values can be a maximum of 512 // characters long. Metadata param.Field[interface{}] `json:"metadata"` } diff --git a/betathreadrunstep.go b/betathreadrunstep.go index 78425cfd..28b4c5b5 100644 --- a/betathreadrunstep.go +++ b/betathreadrunstep.go @@ -1127,7 +1127,7 @@ type RunStep struct { LastError RunStepLastError `json:"last_error,required,nullable"` // 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 + // can be a maximum of 64 characters long and values can be a maximum of 512 // characters long. Metadata interface{} `json:"metadata,required,nullable"` // The object type, which is always `thread.run.step`. diff --git a/betavectorstore.go b/betavectorstore.go index 3e71258b..c16d1c37 100644 --- a/betavectorstore.go +++ b/betavectorstore.go @@ -394,7 +394,7 @@ type VectorStore struct { LastActiveAt int64 `json:"last_active_at,required,nullable"` // 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 + // can be a maximum of 64 characters long and values can be a maximum of 512 // characters long. Metadata interface{} `json:"metadata,required,nullable"` // The name of the vector store. @@ -601,7 +601,7 @@ type BetaVectorStoreNewParams struct { FileIDs param.Field[[]string] `json:"file_ids"` // 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 + // can be a maximum of 64 characters long and values can be a maximum of 512 // characters long. Metadata param.Field[interface{}] `json:"metadata"` // The name of the vector store. @@ -646,7 +646,7 @@ type BetaVectorStoreUpdateParams struct { ExpiresAfter param.Field[BetaVectorStoreUpdateParamsExpiresAfter] `json:"expires_after"` // 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 + // can be a maximum of 64 characters long and values can be a maximum of 512 // characters long. Metadata param.Field[interface{}] `json:"metadata"` // The name of the vector store.