Skip to content

Conversation

@bayu-siddhi
Copy link

Description

Added the ability to provide examples to the GraphCypherQAChain to improve the quality of the generated Cypher queries. It adds an example_key to the chain, updates the prompt template to include examples (optional), and adds a new unit test to verify the functionality. With this, users can run few-shot examples using either dynamic input-output pairs selected via LangChain's example selectors or static examples provided directly.

Type of Change

  • New feature
  • Bug fix
  • Breaking change
  • Project configuration change

Complexity

Low

How Has This Been Tested?

  • Unit tests
  • Integration tests
  • Manual tests

Checklist

  • Unit tests updated
  • Integration tests updated
  • CHANGELOG.md updated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant