Skip to content

Commit ae7d691

Browse files
export additional Embedding types, reduce retry time for integration assertWithRetries util
1 parent e137e4c commit ae7d691

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ export type {
1111
RerankResultUsage,
1212
RankedDocument,
1313
EmbeddingsList,
14+
EmbeddingsListUsage,
15+
Embedding,
1416
} from './pinecone-generated-ts-fetch/inference';
1517
export type { ListResponse } from './pinecone-generated-ts-fetch/db_data';
1618
export type {

src/integration/test-helpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ export const assertWithRetries = async (
161161
asyncFn: () => Promise<any>,
162162
assertionsFn: Assertions,
163163
maxRetries: number = 5,
164-
delay: number = 3000
164+
delay: number = 2000
165165
) => {
166166
let attempts = 0;
167167

0 commit comments

Comments
 (0)