capabilities.work

Vector Store File Batch

A 3-step recipe with OpenAI. We can help you get access.

Recipe · 3 steps

Vector Store File Batch

with OpenAI

Create a vector store and ingest a batch of files, polling to completion.

  1. Create a new vector store.
  2. Attach the batch of file ids to the vector store.
  3. Poll the file batch until it reaches a terminal status, ending when completed and looping while it is still in progress.
What you'll need to have ready
  • apiKey: OpenAI API key used as a Bearer token.
  • storeName: A name for the new vector store.
  • fileIds: A list of previously uploaded file ids to ingest as a batch.
For your developer

Arazzo workflow openai:vector-store-file-batch, 3 operations: createVectorStore → createVectorStoreFileBatch → getVectorStoreFileBatch. Specs on APIs.io.