Releases: neo4j/neo4j-graphrag-python
Releases · neo4j/neo4j-graphrag-python
Neo4j GraphRAG package for Python 0.6.2
Major Improvements and Package Renaming
https://github.com/neo4j/neo4j-graphrag-python/blob/main/CHANGELOG.md#062
This release introduces a series of important updates, including the official renaming of the package from neo4j-genai
to neo4j-graphrag
, improvements to dependency management, and new functionality for pipeline visualization.
What's New in 0.6.2:
- Dependency Fix:
pygraphviz
is now correctly listed as an optional dependency. This resolves installation issues that previously requiredpygraphviz
unnecessarily.
Notable Changes in 0.6.1:
- Package Rename: The
neo4j-genai
package is officially deprecated and renamed toneo4j-graphrag
. For users of the old package, please visit the final release of neo4j-genai. - Migration Note: Users are encouraged to migrate to
neo4j-graphrag
for future updates and improvements.
Highlights from 0.6.0:
- Pipeline Visualization: You can now visualize your pipelines with the new feature
my_pipeline.draw("pipeline.png")
. - Improved Parallel Execution: Fixed a bug where running pipelines in parallel returned incorrect results.
- Pipeline Enhancements: The run method now returns a PipelineResult object, and parameter validation is improved to catch errors before execution.
Neo4j GenAI package for Python 0.5.0
https://github.com/neo4j/neo4j-genai-python/blob/main/CHANGELOG.md#050
Minor Changes
- Experimental Knowledge Graph Constructor: Introduces a PDF-to-knowledge-graph constructor in experimental mode. This constructor uses a flexible component/pipeline architecture and includes components such as text splitters, a schema builder, an entity-relation extractor, and a Neo4j database writer.
- Hybrid Retriever Fix: Fixes the hybrid retriever query to ensure proper normalization of scores returned by both vector and full-text indexes.
Neo4j GenAI package for Python 0.4.0
https://github.com/neo4j/neo4j-genai-python/blob/main/CHANGELOG.md#040
Minor Changes
- Introduced an optional custom_prompt argument to the Text2CypherRetriever class for enhanced customization capabilities.
- Renamed the first parameter of GraphRAG.search from query to query_text for consistency, while ensuring backward compatibility with deprecation warnings for the query parameter.
Neo4j GenAI package for Python 0.3.1
https://github.com/neo4j/neo4j-genai-python/blob/main/CHANGELOG.md#031
Patch Changes
- OpenAIEmbedding fixes: Fixed embedding model initialization and removed unused import to prevent ImportError when sentence_transformers is not installed.
Neo4j GenAI package for Python 0.3.0
https://github.com/neo4j/neo4j-genai-python/blob/main/CHANGELOG.md#030
Minor Changes
- GraphRAG Integration: Introducing the GraphRAG object to enable a complete Retrieval-Augmented Generation pipeline. This major feature supports context retrieval, sophisticated prompt formatting, and dynamic answer generation, streamlining the use of RAG techniques within Neo4j.
- Enhanced Customization Options: Added
PromptTemplate
andRagTemplate
for customizable prompt generation. Also, a newresult_formatter
argument across all retrievers allows for tailored formatting of retrieval results, offering greater flexibility in how results are presented and utilized. - VectorRetriever Updates: Enhanced to return metadata such as
nodeLabels
andid
without direct embedding output, simplifying data handling. - Developer Experience: Enhanced developer interactions with improved documentation, including a new User Guide that provides comprehensive instructions and tips for getting started and effectively using the
neo4j-genai-python
package.