Skip to content

Commit 2a397db

Browse files
committed
fix(api): retreival -> retrieval (#437)
1 parent 02619e4 commit 2a397db

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

src/resources/beta/assistants/assistants.ts

+8-8
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export interface Assistant {
144144
* A list of tool enabled on the assistant. There can be a maximum of 128 tools per
145145
* assistant. Tools can be of types `code_interpreter`, `retrieval`, or `function`.
146146
*/
147-
tools: Array<Assistant.CodeInterpreter | Assistant.Retreival | Assistant.Function>;
147+
tools: Array<Assistant.CodeInterpreter | Assistant.Retrieval | Assistant.Function>;
148148
}
149149

150150
export namespace Assistant {
@@ -155,11 +155,11 @@ export namespace Assistant {
155155
type: 'code_interpreter';
156156
}
157157

158-
export interface Retreival {
158+
export interface Retrieval {
159159
/**
160-
* The type of tool being defined: `retreival`
160+
* The type of tool being defined: `retrieval`
161161
*/
162-
type: 'retreival';
162+
type: 'retrieval';
163163
}
164164

165165
export interface Function {
@@ -276,9 +276,9 @@ export namespace AssistantCreateParams {
276276

277277
export interface AssistantToolsRetrieval {
278278
/**
279-
* The type of tool being defined: `retreival`
279+
* The type of tool being defined: `retrieval`
280280
*/
281-
type: 'retreival';
281+
type: 'retrieval';
282282
}
283283

284284
export interface AssistantToolsFunction {
@@ -389,9 +389,9 @@ export namespace AssistantUpdateParams {
389389

390390
export interface AssistantToolsRetrieval {
391391
/**
392-
* The type of tool being defined: `retreival`
392+
* The type of tool being defined: `retrieval`
393393
*/
394-
type: 'retreival';
394+
type: 'retrieval';
395395
}
396396

397397
export interface AssistantToolsFunction {

src/resources/beta/threads/runs/runs.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -318,9 +318,9 @@ export namespace Run {
318318

319319
export interface AssistantToolsRetrieval {
320320
/**
321-
* The type of tool being defined: `retreival`
321+
* The type of tool being defined: `retrieval`
322322
*/
323-
type: 'retreival';
323+
type: 'retrieval';
324324
}
325325

326326
export interface AssistantToolsFunction {
@@ -418,9 +418,9 @@ export namespace RunCreateParams {
418418

419419
export interface AssistantToolsRetrieval {
420420
/**
421-
* The type of tool being defined: `retreival`
421+
* The type of tool being defined: `retrieval`
422422
*/
423-
type: 'retreival';
423+
type: 'retrieval';
424424
}
425425

426426
export interface AssistantToolsFunction {

src/resources/beta/threads/threads.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -264,9 +264,9 @@ export namespace ThreadCreateAndRunParams {
264264

265265
export interface AssistantToolsRetrieval {
266266
/**
267-
* The type of tool being defined: `retreival`
267+
* The type of tool being defined: `retrieval`
268268
*/
269-
type: 'retreival';
269+
type: 'retrieval';
270270
}
271271

272272
export interface AssistantToolsFunction {

0 commit comments

Comments
 (0)