capabilities
Which optional capabilities are enabled on this shard, and the vector dimension you must match.
capabilities(): Promise<Capabilities>capabilities(): Promise<GetCapabilitiesResponse>Returns
rerankbooleanalwaysWhether the cross-encoder reranker is enabled. It ships disabled, so false is the normal answer, and an opt-in rerank request against a shard with it off fails CapabilityNotEnabled rather than quietly falling back.
llmExtractorbooleanalwaysWhether LLM-backed extraction is available. Needs a registered provider credential — see putLlmCredential.
classifierExtractorbooleanalwaysWhether the classifier extractor is enabled.
patternExtractorbooleanalwaysWhether the pattern extractor is enabled.
schemaNamespacesstring[]alwaysWhich schema namespaces this shard serves.
vectorDimintegeralwaysThe embedding dimension. This is the number encodeVector must match; read it rather than hardcoding it.
A disabled capability is always observable as disabled
Brain never silently degrades an optional capability. If rerank is
false, asking for reranking is an error — not a request that quietly
returns unranked results. That is what makes this verb worth calling at
startup instead of discovering the answer from a failure.
Was this page helpful?