Description
Configuration blueprint for LangChain4j in-process models.
Usages
Configuration options
| Key | Kind | Type | Default Value | Description |
|---|---|---|---|---|
enabled | VALUE | Boolean | true | Whether the embedding model is enabled |
executor | VALUE | i.h.c.c.ThreadPoolConfig | Executor configuration used by the embedding model | |
path-to-model | VALUE | Path | The path to the modelPath file (e.g., "/path/to/model.onnx") | |
path-to-tokenizer | VALUE | Path | The path to the tokenizer file (e.g., "/path/to/tokenizer.json") | |
pooling-mode | VALUE | d.l.m.e.o.PoolingMode | The pooling model to use | |
type | VALUE | i.h.i.l.p.l.InProcessModelType | Which in-process ONNX model variant should be used |
See the manifest for all available types.