langchain-neo4j: 0.4.0#

chains#

Classes

chains.graph_qa.cypher.GraphCypherQAChain

Chain for question-answering against a graph by generating Cypher statements.

chains.graph_qa.cypher_utils.CypherQueryCorrector(schemas)

Used to correct relationship direction in generated Cypher statements.

chains.graph_qa.cypher_utils.Schema(...)

Create new instance of Schema(left_node, relation, right_node)

Functions

chains.graph_qa.cypher.construct_schema(...)

Filter the schema based on included or excluded types

chains.graph_qa.cypher.get_function_response(...)

chat_message_histories#

Classes

chat_message_histories.neo4j.Neo4jChatMessageHistory(...)

Chat message history stored in a Neo4j database.

graphs#

Classes

graphs.graph_document.GraphDocument

Represents a graph document consisting of nodes and relationships.

graphs.graph_document.Node

Represents a node in a graph with associated properties.

graphs.graph_document.Relationship

Represents a directed relationship between two nodes in a graph.

graphs.graph_store.GraphStore(*args, **kwargs)

Abstract class for graph operations.

graphs.neo4j_graph.Neo4jGraph([url, ...])

Neo4j database wrapper for various graph operations.

query_constructors#

Classes

query_constructors.neo4j.Neo4jTranslator()

Translate Neo4j internal query language elements to valid filters.

vectorstores#

Classes

vectorstores.neo4j_vector.Neo4jVector(...[, ...])

Neo4j vector index.

vectorstores.utils.DistanceStrategy(value)

Enumerator of the Distance strategies for calculating distances between vectors.

Functions

vectorstores.neo4j_vector.check_if_not_null(...)

Check if the values are not None or empty string

vectorstores.neo4j_vector.dict_to_yaml_str(...)

Convert a dictionary to a YAML-like string without using external libraries.

vectorstores.neo4j_vector.remove_lucene_chars(text)

Remove Lucene special characters