Skip to content

Commit

Permalink
chore(docs): fix maxium typo (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Sep 30, 2024
1 parent dce2b76 commit 3a5c6a6
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion batch.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
8 changes: 4 additions & 4 deletions betaassistant.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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"`
}
Expand All @@ -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
Expand Down
18 changes: 9 additions & 9 deletions betathread.go
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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"`
}
Expand Down Expand Up @@ -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"`
}
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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"`
}
Expand Down Expand Up @@ -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"`
}
Expand Down
6 changes: 3 additions & 3 deletions betathreadmessage.go
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down Expand Up @@ -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"`
}
Expand Down Expand Up @@ -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"`
}
Expand Down
8 changes: 4 additions & 4 deletions betathreadrun.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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"`
}
Expand Down Expand Up @@ -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"`
}
Expand Down
2 changes: 1 addition & 1 deletion betathreadrunstep.go
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down
6 changes: 3 additions & 3 deletions betavectorstore.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 3a5c6a6

Please sign in to comment.