langchain.chains.graph_qa.cypher_utils.Schema¶

class langchain.chains.graph_qa.cypher_utils.Schema(left_node, relation, right_node)¶

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

Attributes

left_node

Alias for field number 0

relation

Alias for field number 1

right_node

Alias for field number 2

Methods

__init__()

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

__init__()¶
count(value, /)¶

Return number of occurrences of value.

index(value, start=0, stop=9223372036854775807, /)¶

Return first index of value.

Raises ValueError if the value is not present.

Examples using Schema¶