From a0574d68cd623a8e7bcf2f72208e6c680f05ed59 Mon Sep 17 00:00:00 2001 From: Estelle Scifo Date: Mon, 16 Dec 2024 11:13:42 +0100 Subject: [PATCH 1/2] Add links to blog posts in the README (#236) * Add links to blog posts in README * Fix CHANGELOG, add link to neo4j GenAI ecosystem --- CHANGELOG.md | 10 +++++----- README.md | 16 ++++++++++++++++ 2 files changed, 21 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 45ebbeb2..b96ad11b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,14 +2,14 @@ ## Next -## Added -- Integrated json-repair package to handle and repair invalid JSON generated by LLMs. -- Introduced InvalidJSONError exception for handling cases where JSON repair fails. +### Added +- Integrated `json-repair` package to handle and repair invalid JSON generated by LLMs. +- Introduced `InvalidJSONError` exception for handling cases where JSON repair fails. - Ability to create a Pipeline or SimpleKGPipeline from a config file. See [the example](examples/build_graph/from_config_files/simple_kg_pipeline_from_config_file.py). - Added `OllamaLLM` and `OllamaEmbeddings` classes to make Ollama support more explicit. Implementations using the `OpenAILLM` and `OpenAIEmbeddings` classes will still work. -## Changed -- Updated LLM prompts to include stricter instructions for generating valid JSON. +### Changed +- Updated LLM prompt for Entity and Relation extraction to include stricter instructions for generating valid JSON. ### Fixed - Added schema functions to the documentation. diff --git a/README.md b/README.md index 74a2d6dd..94611b45 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,22 @@ As a first-party library, it offers a robust, feature-rich, and high-performance Documentation can be found [here](https://neo4j.com/docs/neo4j-graphrag-python/) +### Resources + +A series of blog posts demonstrating how to use this package: + +- Build a Knowledge Graph and use GenAI to answer questions: + - [GraphRAG Python Package: Accelerating GenAI With Knowledge Graphs](https://neo4j.com/blog/graphrag-python-package/) +- Retrievers: when the Neo4j graph is already populated: + - [Getting Started With the Neo4j GraphRAG Python Package](https://neo4j.com/developer-blog/get-started-graphrag-python-package/) + - [Enriching Vector Search With Graph Traversal Using the GraphRAG Python Package](https://neo4j.com/developer-blog/graph-traversal-graphrag-python-package/) + - [Hybrid Retrieval for GraphRAG Applications Using the GraphRAG Python Package](https://neo4j.com/developer-blog/hybrid-retrieval-graphrag-python-package/) + - [Enhancing Hybrid Retrieval With Graph Traversal Using the GraphRAG Python Package](https://neo4j.com/developer-blog/enhancing-hybrid-retrieval-graphrag-python-package/) + - [Effortless RAG With Text2CypherRetriever](https://medium.com/neo4j/effortless-rag-with-text2cypherretriever-cb1a781ca53c) + +A list of Neo4j GenAI-related features can also be found at [Neo4j GenAI Ecosystem](https://neo4j.com/labs/genai-ecosystem/). + + ## 🐍 Python Version Support | Version | Supported? | From 324fd2c2f4e80b847bd85fb49d0a37008a5c68f6 Mon Sep 17 00:00:00 2001 From: Neo4j-GraphRAG GitHub Action Date: Mon, 16 Dec 2024 12:25:44 +0000 Subject: [PATCH 2/2] Bump version to 1.3.0 --- CHANGELOG.md | 2 ++ pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b96ad11b..6a68e193 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Next +## 1.3.0 + ### Added - Integrated `json-repair` package to handle and repair invalid JSON generated by LLMs. - Introduced `InvalidJSONError` exception for handling cases where JSON repair fails. diff --git a/pyproject.toml b/pyproject.toml index 0cba753d..018fa586 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,7 +15,7 @@ [tool.poetry] name = "neo4j-graphrag" -version = "1.2.1" +version = "1.3.0" description = "Python package to allow easy integration to Neo4j's GraphRAG features" authors = ["Neo4j, Inc "] license = "Apache License, Version 2.0"