- Enhanced Neo4j driver connection management with more robust error handling.
- Simplified connection state checking in Neo4jGraph.
- Introduced
effective_search_ratio
parameter in Neo4jVector to enhance query accuracy by adjusting the candidate pool size during similarity searches.
- Removed deprecated LLMChain from GraphCypherQAChain to resolve instantiation issues with the use_function_response parameter.
- Removed unnecessary # type: ignore comments, improving type safety and code clarity.
- Removed dependency on LangChain Community package by integrating necessary components directly into the LangChain Neo4j codebase.
- Fixed bugs in the Neo4jVector and GraphCypherQAChain classes preventing these classes from working with versions < 5.23 of Neo4j.
- Migrated all Neo4j-related code, including tests and integration tests, from the LangChain Community package to this package.