Skip to content

Commit

Permalink
Changelog + deprecate field
Browse files Browse the repository at this point in the history
  • Loading branch information
stellasia committed Dec 19, 2024
1 parent 754ab98 commit aa68e5f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

## Next

### Fixed
- IDs for the Document and Chunk nodes in the lexical graph are now randomly generated and unique across multiple runs, fixing issues in the lexical graph where relationships where created between chunks that were created by different pipeline runs.

### Changed
- The `id_prefix` parameter in the `LexicalGraphConfig` is deprecated.

## 1.3.0

### Added
Expand Down
2 changes: 1 addition & 1 deletion src/neo4j_graphrag/experimental/components/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ class ResolutionStats(DataModel):
class LexicalGraphConfig(BaseModel):
"""Configure all labels and property names in the lexical graph."""

id_prefix: str = Field(deprecated=True, default="")
id_prefix: str = Field(deprecated=True)
document_node_label: str = DEFAULT_DOCUMENT_NODE_LABEL
chunk_node_label: str = DEFAULT_CHUNK_NODE_LABEL
chunk_to_document_relationship_type: str = (
Expand Down

0 comments on commit aa68e5f

Please sign in to comment.