extract_gremlin#

langchain_community.chains.graph_qa.gremlin.extract_gremlin(text: str) str[source]#

Extract Gremlin code from a text.

Parameters:

text (str) – Text to extract Gremlin code from.

Returns:

Gremlin code extracted from the text.

Return type:

str