Skip to content

Neo4j GraphRAG Package for Python 1.5.0

Compare
Choose a tag to compare
@alexthomas93 alexthomas93 released this 06 Mar 16:38
· 20 commits to main since this release

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

What's New in 1.5.0

  • Added utility functions to retrieve metadata about existing vector and full-text indexes.
  • Added support for the effective_search_ratio parameter in vector and hybrid searches, allowing finer control over query accuracy by adjusting the candidate pool size in similarity searches.
  • Introduced the upsert_vectors utility function for batch upserting embeddings into vector indexes on both nodes and relationships.
  • Introduced the extract_cypher function to improve the extraction of LLM-generated Cypher queries in Text2CypherRetriever.
  • Added Neo4jMessageHistory for saving LLM chat message history to a Neo4j database.
  • Added InMemoryMessageHistory for storing LLM chat message history in memory.
  • Added example scripts and documentation for using the new message history classes.
  • Updated LLM and GraphRAG classes to support message history functionality.

Changed in 1.5.0

  • Added deprecation warnings to upsert_vector and upsert_vector_on_relationship, recommending migration to upsert_vectors.
  • Added deprecation warnings to async_upsert_vector and async_upsert_vector_on_relationship, notifying developers of their planned removal in a future release.
  • Added support for database, timeout, and sanitize arguments in schema retrieval functions. The sanitize option allows for the removal of large properties such as embeddings.

Fixed in 1.5.0

  • Fixed an issue where a node alias was incorrectly hardcoded in the _handle_field_filter function.