ConfigurableModelProviderProperties

data class ConfigurableModelProviderProperties(var llms: Map<String, String> = emptyMap(), var embeddingServices: Map<String, String> = emptyMap(), var defaultLlm: String = "gpt-4.1-mini", var defaultEmbeddingModel: String? = null)

Configuration properties for the model provider

Constructors

Link copied to clipboard
constructor(llms: Map<String, String> = emptyMap(), embeddingServices: Map<String, String> = emptyMap(), defaultLlm: String = "gpt-4.1-mini", defaultEmbeddingModel: String? = null)

Properties

Link copied to clipboard

Default embedding model name. Must be an embedding model name. Need not be set, in which case it defaults to null.

Link copied to clipboard

Default LLM name. Must be an LLM name. It's good practice to override this in configuration.

Link copied to clipboard

Map of role to embedding service name. May not include the default embedding service.

Link copied to clipboard

Map of role to LLM name. Each entry will require an LLM to be registered with the same name. May not include the default LLM.

Functions