Update EL task docs.

This commit is contained in:
Raphael Mitsch 2023-11-17 12:42:55 +01:00
parent fac19519ce
commit 15d6204636

View File

@ -453,15 +453,19 @@ The KB .yaml file has to stick to the following format:
```yaml ```yaml
entities: entities:
ID1: # This can be whatever ID identifies this entity in your knowledge base. # The key should be whatever ID identifies this entity in your knowledge base.
ID1:
name: "..." name: "..."
desc: "..." desc: "..."
ID2: ID2:
... ...
aliases: # Aliases in your knowledge base - e. g. "Apple" for the entity "Apple Inc.". # Data on aliases in your knowledge base - e. g. "Apple" for the entity "Apple Inc.".
aliases:
- alias: "..." - alias: "..."
entities: ["ID1", "ID2", ...] # List of all entities that this alias refers to. # List of all entities that this alias refers to.
probabilities: [0.5, 0.2, ...] # Prior probabilities that this alias refers to the n-th entity in the "entities" attribute. This is optional. entities: ["ID1", "ID2", ...]
# Optional: prior probabilities that this alias refers to the n-th entity in the "entities" attribute.
probabilities: [0.5, 0.2, ...]
- alias: "..." - alias: "..."
entities: [...] entities: [...]
probabilities: [...] probabilities: [...]