Neo4j GraphRAG Package for Python 1.2.0
https://github.com/neo4j/neo4j-graphrag-python/blob/main/CHANGELOG.md#120
What's New in 1.2.0
Enhanced Schema Building:
- Optional Relations and Schema: Made
relations
andpotential_schema
optional in theSchemaBuilder
, providing greater flexibility in knowledge graph construction.
Deprecation Safeguards:
- Cypher Syntax Check: Added a mechanism to prevent the use of deprecated Cypher syntax for Neo4j versions 5.23.0 and above, ensuring compatibility with future Neo4j releases.
New Components:
- LexicalGraphBuilder: Enables the import of the lexical graph (documents and chunks) without performing entity and relation extraction.
- Neo4jChunkReader: Facilitates reading chunk text directly from the Neo4j database.
Changed in 1.2.0
Retriever Enhancements:
- Embedding Property Filtering:
HybridRetriever
now excludes the embedding property index specified inself.vector_index_name
from the retriever results by default, streamlining the output.
Pipeline Adjustments:
- AsyncDriver Removal: Removed support for
neo4j.AsyncDriver
in the knowledge graph creation pipeline, affectingNeo4jWriter
and related components. Updated examples and unit tests to reflect this change.
Fixed in 1.2.0
Inheritance Correction:
- AzureOpenAIEmbeddings Fix: Resolved an issue where
AzureOpenAIEmbeddings
incorrectly inherited fromOpenAIEmbeddings
. It now correctly inherits fromBaseOpenAIEmbeddings
, ensuring proper functionality and integration.
Retriever Correction:
- Extended Return Properties: Vector and Hybrid retrievers using
return_properties
now also return the node labels (nodeLabels
) and the node's element ID (id
), enriching the retriever results with additional metadata.