Tools and state

openai_file_search_dispatch

Read the release-matched openai file search dispatch documentation and its scope.

Praxis AI v0.9.0 (alpha) 3 min read

Switching projects opens that project’s default documentation release.

Versions marked “overview” do not contain this page. Selecting one opens that version’s documentation overview.

On this page

Dispatches the loop owner’s pending file-search assignments against a vector store API compatible backend.

Configuration Notes

The enclosing iterative router owns model re-entry and openai_agentic_loop owns the loop decision; this filter only executes the assignments the owner recorded, at request-body EOS on re-entry. Streaming composes through the step-local openai_stream_events filter, whose finalizer synthesizes citation-annotated file_search lifecycle frames at EOS. Search queries are forwarded unchanged; model context and citation marker formatting are internal.

Configuration

FieldTypeRequiredDescription
outbound_chainstring | objectnoOutbound filter chain every vector-store sub-request runs through. The chain carries cross-cutting concerns (observability, credential injection, security) and is bound into a prebuilt pipeline at registration time via [ChainBindingContext::bind_chain]. The destination is supplied by vector_store_url, so the chain never needs an upstream-selecting filter. Private-address gating is centralized in insecure_options.allow_private_upstreams. Cloud metadata, unspecified, and multicast addresses remain blocked by that opt-in. Optional. Callouts always run through the shared sub-request executor; this chain only adds filters along the way. When omitted it defaults to an empty inline chain (pure passthrough) via default_outbound_chain. Provide it only to attach cross-cutting concerns. When provided, it may be defined inline (outbound_chain: { name: ..., filters: [...] }) or as a named reference to a top-level filter_chains entry. The production pipeline builder carries the chain-binding context into iterative_request_router steps, so both forms resolve consistently.
user_credentialstringnoOptional callout-credential slot. When configured, every vector-store request uses that caller-scoped value as its Authorization header.
on_failureclosed | opennoBehaviour when a vector-store callout fails.
forward_headersstring[]noHeaders to forward from the original request to the vector store API for authentication and tenant isolation. No downstream headers are forwarded by default.
max_response_bytesintegernoMaximum response body size in bytes per callout.
max_total_response_bytesintegernoMaximum cumulative successful response bytes per filter execution.
max_state_bytesintegernoMaximum combined iterative-router and file-search continuation bytes. The filter’s value may differ from the enclosing iterative_request_router; the smaller limit wins at runtime.
timeout_msintegernoWhole-call timeout in milliseconds. Inside an iterative request router, the effective timeout is capped by the router’s remaining deadline.
vector_store_urlstringyesBase URL for the vector store API.