Skip to content

Commit

Permalink
Update prompt to allow for lowercase matching (#6)
Browse files Browse the repository at this point in the history
* Update prompt to allow for lowercase matching

* Bump version
  • Loading branch information
prrao87 authored Jan 13, 2025
1 parent dcb4bf0 commit 0c8d094
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libs/kuzu/langchain_kuzu/chains/graph_qa/prompts.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
KUZU_EXTRA_INSTRUCTIONS = """
Instructions:
Generate the Kùzu dialect of Cypher with the following rules in mind:
1. Do not omit the relationship pattern. Always use `()-[]->()` instead of `()->()`.
1. When matching on a property, use the `LOWER()` function to match the property value.
2. Do not include triple backticks ``` in your response. Return only Cypher.
3. Do not return any notes or comments in your response.
\n"""
Expand Down
2 changes: 1 addition & 1 deletion libs/kuzu/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "langchain-kuzu"
version = "0.2.0"
version = "0.3.0"
description = "An integration package connecting Kùzu, an embedded graph database, and LangChain"
authors = ["prrao87", "mewim"]
readme = "README.md"
Expand Down

0 comments on commit 0c8d094

Please sign in to comment.