View Source ExOpenAI.Components.CreateVectorStoreFileRequest (ex_openai.ex v2.0.0-beta2)

Module for representing the OpenAI schema CreateVectorStoreFileRequest.

Fields

  • :attributes - optional - ExOpenAI.Components.VectorStoreFileAttributes.t()

  • :chunking_strategy - optional - ExOpenAI.Components.ChunkingStrategyRequestParam.t()

  • :file_id - required - String.t()
    A File ID that the vector store should use. Useful for tools like file_search that can access files. For multi-file ingestion, we recommend file_batches to minimize per-vector-store write requests.

Summary

Types

@type t() :: %ExOpenAI.Components.CreateVectorStoreFileRequest{
  attributes: ExOpenAI.Components.VectorStoreFileAttributes.t() | nil,
  chunking_strategy: ExOpenAI.Components.ChunkingStrategyRequestParam.t() | nil,
  file_id: String.t()
}