Skip to content

Commit 963703d

Browse files
stainless-botRobertCraigie
authored andcommitted
chore(types): rename vector store chunking strategy
chore: unknown commit message
1 parent 3c830fe commit 963703d

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ Types:
282282
- <code><a href="./src/resources/beta/vector-stores/vector-stores.ts">OtherFileChunkingStrategyObject</a></code>
283283
- <code><a href="./src/resources/beta/vector-stores/vector-stores.ts">StaticFileChunkingStrategy</a></code>
284284
- <code><a href="./src/resources/beta/vector-stores/vector-stores.ts">StaticFileChunkingStrategyObject</a></code>
285-
- <code><a href="./src/resources/beta/vector-stores/vector-stores.ts">StaticFileChunkingStrategyParam</a></code>
285+
- <code><a href="./src/resources/beta/vector-stores/vector-stores.ts">StaticFileChunkingStrategyObjectParam</a></code>
286286
- <code><a href="./src/resources/beta/vector-stores/vector-stores.ts">VectorStore</a></code>
287287
- <code><a href="./src/resources/beta/vector-stores/vector-stores.ts">VectorStoreDeleted</a></code>
288288

src/resources/beta/beta.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ import {
4848
OtherFileChunkingStrategyObject,
4949
StaticFileChunkingStrategy,
5050
StaticFileChunkingStrategyObject,
51-
StaticFileChunkingStrategyParam,
51+
StaticFileChunkingStrategyObjectParam,
5252
VectorStore,
5353
VectorStoreCreateParams,
5454
VectorStoreDeleted,
@@ -83,7 +83,7 @@ export declare namespace Beta {
8383
type OtherFileChunkingStrategyObject as OtherFileChunkingStrategyObject,
8484
type StaticFileChunkingStrategy as StaticFileChunkingStrategy,
8585
type StaticFileChunkingStrategyObject as StaticFileChunkingStrategyObject,
86-
type StaticFileChunkingStrategyParam as StaticFileChunkingStrategyParam,
86+
type StaticFileChunkingStrategyObjectParam as StaticFileChunkingStrategyObjectParam,
8787
type VectorStore as VectorStore,
8888
type VectorStoreDeleted as VectorStoreDeleted,
8989
type VectorStoresPage as VectorStoresPage,

src/resources/beta/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export {
4545
type OtherFileChunkingStrategyObject,
4646
type StaticFileChunkingStrategy,
4747
type StaticFileChunkingStrategyObject,
48-
type StaticFileChunkingStrategyParam,
48+
type StaticFileChunkingStrategyObjectParam,
4949
type VectorStore,
5050
type VectorStoreDeleted,
5151
type VectorStoreCreateParams,

src/resources/beta/vector-stores/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export {
2626
type OtherFileChunkingStrategyObject,
2727
type StaticFileChunkingStrategy,
2828
type StaticFileChunkingStrategyObject,
29-
type StaticFileChunkingStrategyParam,
29+
type StaticFileChunkingStrategyObjectParam,
3030
type VectorStore,
3131
type VectorStoreDeleted,
3232
type VectorStoreCreateParams,

src/resources/beta/vector-stores/vector-stores.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export type FileChunkingStrategy = StaticFileChunkingStrategyObject | OtherFileC
112112
* The chunking strategy used to chunk the file(s). If not set, will use the `auto`
113113
* strategy. Only applicable if `file_ids` is non-empty.
114114
*/
115-
export type FileChunkingStrategyParam = AutoFileChunkingStrategyParam | StaticFileChunkingStrategyParam;
115+
export type FileChunkingStrategyParam = AutoFileChunkingStrategyParam | StaticFileChunkingStrategyObjectParam;
116116

117117
/**
118118
* This is returned when the chunking strategy is unknown. Typically, this is
@@ -150,7 +150,7 @@ export interface StaticFileChunkingStrategyObject {
150150
type: 'static';
151151
}
152152

153-
export interface StaticFileChunkingStrategyParam {
153+
export interface StaticFileChunkingStrategyObjectParam {
154154
static: StaticFileChunkingStrategy;
155155

156156
/**
@@ -391,7 +391,7 @@ export declare namespace VectorStores {
391391
type OtherFileChunkingStrategyObject as OtherFileChunkingStrategyObject,
392392
type StaticFileChunkingStrategy as StaticFileChunkingStrategy,
393393
type StaticFileChunkingStrategyObject as StaticFileChunkingStrategyObject,
394-
type StaticFileChunkingStrategyParam as StaticFileChunkingStrategyParam,
394+
type StaticFileChunkingStrategyObjectParam as StaticFileChunkingStrategyObjectParam,
395395
type VectorStore as VectorStore,
396396
type VectorStoreDeleted as VectorStoreDeleted,
397397
type VectorStoresPage as VectorStoresPage,

0 commit comments

Comments
 (0)