OptionalbaseThe base URL to use where API requests should go.
OptionaldimensionsThe dimensionality of the vector once embedded. Supported values: 256, 512, 1024 (default), 2048.
OptionalimageThe image fields used when vectorizing.
OptionalmodelThe model to use.
OptionaloutputHow the output from the model should be encoded on return.
OptionaltextThe text fields used when vectorizing.
OptionaltruncateWhether the input should be truncated to fit in the context window.
OptionalvectorizeWhether the collection name is vectorized.
OptionalvideoThe video fields used when vectorizing.
OptionalweightsThe weights of the fields used for vectorization.
OptionalimageFields?: number[]The weights of the image fields.
OptionaltextFields?: number[]The weights of the text fields.
OptionalvideoFields?: number[]The weights of the video fields.
The configuration for multi-media vectorization using the VoyageAI module.
See the documentation for detailed usage.