langchain/libs
Piyush Jain 94cf71ecfa
Updated Neptune graph to use boto (#10121)
## Description
This PR updates the `NeptuneGraph` class to start using the boto API for
connecting to the Neptune service. With boto integration, the graph
class now supports authenticating requests using Sigv4; this is
encapsulated with the boto API, and users only have to ensure they have
the correct AWS credentials setup in their workspace to work with the
graph class.

This PR also introduces a conditional prompt that uses a simpler prompt
when using the `Anthropic` model provider. A simpler prompt have seemed
to work better for generating cypher queries in our testing.

**Note**: This version will require boto3 version 1.28.38 or greater to
work.
2023-09-19 16:03:08 -07:00
..
experimental Corrected some spelling mistakes and grammatical errors (#10791) 2023-09-19 10:08:59 -07:00
langchain Updated Neptune graph to use boto (#10121) 2023-09-19 16:03:08 -07:00