Configurable Model Provider Properties
Configuration properties for the model provider
Constructors
Properties
Upper bound on LLM services built from user-supplied keys and held for reuse.
Default embedding model name. Must be an embedding model name. Need not be set, in which case it defaults to null.
Map of role to embedding service name. May not include the default embedding service.
Functions
The embedding counterpart of allWellKnownLlmNames, case for case: the flat map, the per-provider map, and default-embedding-model unless it names a role. Shorter only because an embeddingRoles entry is a model NAME where a roles entry is a whole LlmOptions.
Every LLM name this configuration mentions, across all three places one can appear: the flat llms role map, the nested roles map (one model per provider), and default-llm.
Whether defaultEmbeddingModel names a role from embeddingServices or embeddingRoles rather than a model.
Whether defaultLlm names a role from llms or roles rather than a model.
Whether CONFIGURATION declares name as an embedding role.