FileEmbeddingConfig
Everything FileEmbedder needs beyond the file itself and the client that embeds it.
Grouping these means a caller configures the embedder once rather than repeating five arguments - including a stubs toggle that is a deployment decision, not a call-site one - at every call.
Value parameters
- chunking
-
Text chunking settings; if enabled, extracted text is split before embedding.
- experimentalStubs
-
When
false, image/audio/video files are read and forwarded toclient.embedMultimodal()for real provider embeddings. Whentrue, deterministic stub vectors are returned instead. - localModels
-
Model configurations for the image, audio and video modalities.
- maxMediaFileSize
-
Maximum allowed media file size in bytes. Files exceeding this limit are rejected with an error. Defaults to 50 MB.
- textModel
-
Model configuration (name + dimensions) used for text-like files.
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any