Skip to content

Commit

Permalink
fix(api): retreival -> retrieval (#437)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-bot authored Nov 6, 2023
1 parent ee8b24c commit b4bd3ee
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
16 changes: 8 additions & 8 deletions src/resources/beta/assistants/assistants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export interface Assistant {
* 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`.
*/
tools: Array<Assistant.CodeInterpreter | Assistant.Retreival | Assistant.Function>;
tools: Array<Assistant.CodeInterpreter | Assistant.Retrieval | Assistant.Function>;
}

export namespace Assistant {
Expand All @@ -155,11 +155,11 @@ export namespace Assistant {
type: 'code_interpreter';
}

export interface Retreival {
export interface Retrieval {
/**
* The type of tool being defined: `retreival`
* The type of tool being defined: `retrieval`
*/
type: 'retreival';
type: 'retrieval';
}

export interface Function {
Expand Down Expand Up @@ -276,9 +276,9 @@ export namespace AssistantCreateParams {

export interface AssistantToolsRetrieval {
/**
* The type of tool being defined: `retreival`
* The type of tool being defined: `retrieval`
*/
type: 'retreival';
type: 'retrieval';
}

export interface AssistantToolsFunction {
Expand Down Expand Up @@ -389,9 +389,9 @@ export namespace AssistantUpdateParams {

export interface AssistantToolsRetrieval {
/**
* The type of tool being defined: `retreival`
* The type of tool being defined: `retrieval`
*/
type: 'retreival';
type: 'retrieval';
}

export interface AssistantToolsFunction {
Expand Down
8 changes: 4 additions & 4 deletions src/resources/beta/threads/runs/runs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -318,9 +318,9 @@ export namespace Run {

export interface AssistantToolsRetrieval {
/**
* The type of tool being defined: `retreival`
* The type of tool being defined: `retrieval`
*/
type: 'retreival';
type: 'retrieval';
}

export interface AssistantToolsFunction {
Expand Down Expand Up @@ -418,9 +418,9 @@ export namespace RunCreateParams {

export interface AssistantToolsRetrieval {
/**
* The type of tool being defined: `retreival`
* The type of tool being defined: `retrieval`
*/
type: 'retreival';
type: 'retrieval';
}

export interface AssistantToolsFunction {
Expand Down
4 changes: 2 additions & 2 deletions src/resources/beta/threads/threads.ts
Original file line number Diff line number Diff line change
Expand Up @@ -264,9 +264,9 @@ export namespace ThreadCreateAndRunParams {

export interface AssistantToolsRetrieval {
/**
* The type of tool being defined: `retreival`
* The type of tool being defined: `retrieval`
*/
type: 'retreival';
type: 'retrieval';
}

export interface AssistantToolsFunction {
Expand Down

0 comments on commit b4bd3ee

Please sign in to comment.