veil.config.entity_resolvers¶
Classes
Marker base for entity resolver configuration objects. |
|
|
Configuration for an embeddings-based entity resolver. |
- class veil.config.entity_resolvers.BaseEntityResolverConfig[source]¶
Bases:
BasePolyConfigMarker base for entity resolver configuration objects.
- class veil.config.entity_resolvers.EmbeddingsEntityResolverConfig(threshold=0.82, context_chars=0)[source]¶
Bases:
BaseEntityResolverConfigConfiguration for an embeddings-based entity resolver.
For v1 we keep options minimal and local-only.
- Parameters:
threshold (float)
context_chars (int)
- context_chars: int = 0¶
- threshold: float = 0.82¶