Skip to content

Commit 22a0831

Browse files
committed
Update CHANGELOG and doc
1 parent 632d7f2 commit 22a0831

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66

77
- Fixed a bug where `spacy` and `rapidfuzz` needed to be installed even if not using the relevant entity resolvers.
88

9+
### Changed
10+
11+
- Strict mode in `SimpleKGPipeline`: now properties and relationships are pruned only if they are defined in the input schema.
12+
13+
914
## 1.7.0
1015

1116
### Added

docs/source/user_guide_kg_builder.rst

+7
Original file line numberDiff line numberDiff line change
@@ -850,6 +850,13 @@ Any relation whose start node or end node does not conform to the provided tuple
850850
If a relation start/end nodes are valid but the direction is incorrect, the latter will be inverted.
851851
If a node is left with no properties, it will be also pruned.
852852

853+
.. note::
854+
855+
If the input schema lacks a certain type of information, pruning is skipped.
856+
For example, if an entity is defined only by a label and has no properties,
857+
property pruning is not performed and all properties returned by the LLM are kept.
858+
859+
853860
.. warning::
854861

855862
Note that if the schema enforcement mode is on but the schema is not provided, no schema enforcement will be applied.

0 commit comments

Comments
 (0)