mirror of
https://github.com/hwchase17/langchain
synced 2024-11-16 06:13:16 +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>
6 lines
153 B
Python
6 lines
153 B
Python
def test_import() -> None:
|
|
from langchain_community.graphs import (
|
|
NeptuneGraph, # noqa: F401
|
|
NeptuneRdfGraph, # noqa: F401
|
|
)
|