chains
#
Chains module for langchain_community
This module contains the community chains.
Classes
Chain for question-answering against a graph by generating AQL statements. |
|
Chain for question-answering against a graph. |
|
Chain for question-answering against a graph by generating Cypher statements. |
|
Used to correct relationship direction in generated Cypher statements. |
|
Create new instance of Schema(left_node, relation, right_node) |
|
Chain for question-answering against a graph by generating Cypher statements. |
|
Chain for question-answering against a graph by generating gremlin statements. |
|
Chain for question-answering against a graph by generating gremlin statements. |
|
Question-answering against a graph by generating Cypher statements for Kùzu. |
|
Chain for question-answering against a graph by generating nGQL statements. |
|
Chain for question-answering against a Neptune graph by generating openCypher statements. |
|
Chain for question-answering against a Neptune graph by generating SPARQL statements. |
|
Question-answering against Ontotext GraphDB |
|
Question-answering against an RDF or OWL graph by generating SPARQL statements. |
|
Chain that requests a URL and then uses an LLM to parse results. |
|
Chain interacts with an OpenAPI endpoint using natural language. |
|
Get the request parser. |
|
Parse the request and error tags. |
|
Get the response parser. |
|
Parse the response and error tags. |
|
Retrieval Chain with Identity & Semantic Enforcement for question-answering against a vector database. |
|
Create a new model by parsing and validating input data from keyword arguments. |
|
Class for an authorization context. |
|
Create a new model by parsing and validating input data from keyword arguments. |
|
Input for PebbloRetrievalQA chain. |
|
Create a new model by parsing and validating input data from keyword arguments. |
|
Langchain framework details |
|
Create a new model by parsing and validating input data from keyword arguments. |
|
Create a new model by parsing and validating input data from keyword arguments. |
|
Create a new model by parsing and validating input data from keyword arguments. |
|
Create a new model by parsing and validating input data from keyword arguments. |
|
OS, language details |
|
Class for a semantic context. |
|
Class for a semantic entity filter. |
|
Class for a semantic topic filter. |
|
Create a new model by parsing and validating input data from keyword arguments. |
|
Wrapper for Pebblo Retrieval API. |
|
Routes available for the Pebblo API as enumerator. |
Functions
|
Convert a Python function to an Ernie function-calling API compatible dict. |
Convert a raw function/class to an Ernie function. |
|
[Legacy] Create an LLM chain that uses Ernie functions. |
|
Create a runnable sequence that uses Ernie functions. |
|
|
[Legacy] Create an LLMChain that uses an Ernie function to get a structured output. |
|
Create a runnable that uses an Ernie function to get a structured output. |
Get the appropriate function output parser given the user functions. |
|
Filter the schema based on included or excluded types |
|
Extract Cypher code from a text. |
|
Extract Cypher code from a text. |
|
Extract Gremlin code from a text. |
|
Extract Cypher code from a text. |
|
|
Remove a prefix from a text. |
Extract Cypher code from text using Regex. |
|
Trim the query to only include Cypher keywords. |
|
Decides whether to use the simple prompt |
|
Extract SPARQL code from a text. |
|
|
Clear the identity and semantic enforcement filters in the retriever search_kwargs. |
|
Set identity and semantic enforcement filters in the retriever. |
Fetch local runtime ip address. |
|
Fetch the current Framework and Runtime details. |