mirror of
https://github.com/hwchase17/langchain
synced 2024-11-06 03:20:49 +00:00
1bbb64d956
**Description**: This PR adds a chain for Amazon Neptune graph database RDF format. It complements the existing Neptune Cypher chain. The PR also includes a Neptune RDF graph class to connect to, introspect, and query a Neptune RDF graph database from the chain. A sample notebook is provided under docs that demonstrates the overall effect: invoking the chain to make natural language queries against Neptune using an LLM. **Issue**: This is a new feature **Dependencies**: The RDF graph class depends on the AWS boto3 library if using IAM authentication to connect to the Neptune database. --------- Co-authored-by: Piyush Jain <piyushjain@duck.com> Co-authored-by: Bagatur <baskaryan@gmail.com>
32 lines
1.2 KiB
Python
32 lines
1.2 KiB
Python
"""**Graphs** provide a natural language interface to graph databases."""
|
|
|
|
from langchain_community.graphs.arangodb_graph import ArangoGraph
|
|
from langchain_community.graphs.falkordb_graph import FalkorDBGraph
|
|
from langchain_community.graphs.hugegraph import HugeGraph
|
|
from langchain_community.graphs.kuzu_graph import KuzuGraph
|
|
from langchain_community.graphs.memgraph_graph import MemgraphGraph
|
|
from langchain_community.graphs.nebula_graph import NebulaGraph
|
|
from langchain_community.graphs.neo4j_graph import Neo4jGraph
|
|
from langchain_community.graphs.neptune_graph import NeptuneGraph
|
|
from langchain_community.graphs.neptune_rdf_graph import NeptuneRdfGraph
|
|
from langchain_community.graphs.networkx_graph import NetworkxEntityGraph
|
|
from langchain_community.graphs.ontotext_graphdb_graph import OntotextGraphDBGraph
|
|
from langchain_community.graphs.rdf_graph import RdfGraph
|
|
from langchain_community.graphs.tigergraph_graph import TigerGraph
|
|
|
|
__all__ = [
|
|
"MemgraphGraph",
|
|
"NetworkxEntityGraph",
|
|
"Neo4jGraph",
|
|
"NebulaGraph",
|
|
"NeptuneGraph",
|
|
"NeptuneRdfGraph",
|
|
"KuzuGraph",
|
|
"HugeGraph",
|
|
"RdfGraph",
|
|
"ArangoGraph",
|
|
"FalkorDBGraph",
|
|
"TigerGraph",
|
|
"OntotextGraphDBGraph",
|
|
]
|