files. 0, last published: 12 days ago. The official TypeScript library for the OpenAI API. With the following snippet: await req. id, { files }, { chunking_strategy: { type: "static", static: { max_chunk_size_tokens: 400, chunk_overlap_tokens: 100, }, }, }); The resulting file Nov 5, 2024 · Our product uses the OpenAI API for a chat feature that queries prompts against a client’s set of data. RequestOptions & { pollIntervalMs?: number }, ): Promise<VectorStoreFile> { const fileInfo = await this. poll(vectorStoreId, fileInfo. 16. 2 days ago · Bret Taylor said AI is "probably" a bubble, and he expects to see a correction over the next few years. fileBatches.