Skip to content

Neo4j GraphRAG Package for Python 1.4.0

Compare
Choose a tag to compare
@stellasia stellasia released this 14 Jan 09:35
· 22 commits to main since this release

What's New in 1.4.0

https://github.com/neo4j/neo4j-graphrag-python/blob/main/CHANGELOG.md#140

LLM Interface and GraphRAG

  • Added ability to pass system_instructions to the LLM
  • Added ability to pass message_history to the LLM and GraphRAG
  • Enhanced PromptTemplate to add a system_instruction parameter.

Changed in 1.4.0

KG Construction Pipeline

  • The id_prefix of LexicalGraphConfig is not used anymore and will be removed in a future version.

Fixed in 1.4.0

KG Construction Pipeline

  • Fixed a bug where the chunk IDs were not unique and too many relationships were created in the lexical graph (between chunks and between entities and chunks). Now chunk IDs are UUIDs, truly unique, even for multiple runs on the same document or running the pipeline on multiple documents.