UserMessagesConfig#

class nemo_microservices.types.shared.UserMessagesConfig(*args: Any, **kwargs: Any)

Bases: BaseModel

embeddings_only: bool | None = None

Whether to use only embeddings for computing the user canonical form messages.

embeddings_only_fallback_intent: str | None = None

Defines the fallback intent when the similarity is below the threshold.

If set to None, the user intent is computed normally using the LLM. If set to a string value, that string is used as the intent.

embeddings_only_similarity_threshold: float | None = None

The similarity threshold to use when using only embeddings for computing the user canonical form messages.