Skip to main content

OPENAI_THREAD_FILES

Create a vector store for thread file tools and optionally upload files. Writes created store to flow context and optional uploaded file list to an optional output.

At a glance

  • Category LLM
  • Version: 1.0.9
  • Applications: all
  • Scope: all
  • Default Service: OPENAI_COMPLETION

Config Options

NameDescriptionDefaultRequiredResolvedConstraintsConditional Rules
nameName of the vector storeNonefalsefalseNoneNone
replaceStoresIf true replace existing stores instead of appendingNonefalsefalseNoneNone
expires_afterExpiration configuration for the vector storeNonefalsefalseNoneNone

Inputs

TypeDescriptionDefaultRequiredResolved
filesOptional files to upload to the vector storeNonefalsefalse
threadOptional thread object to update with tool resourcesNonefalsefalse

Outputs

TypeDescriptionOptional
storeCreated vector store objectfalse
filesOptional uploaded files metadata listtrue

Examples

Create vector store and upload files

- step: OPENAI_THREAD_FILES
replaceStores: true
expires_after: 1
name: "my-store"

See Also

General Resources: