Skip to content

Commit f5ccf3a

Browse files
committed
fix compile errors
1 parent 0aefc35 commit f5ccf3a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

neo4j-example/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>dev.langchain4j</groupId>
88
<artifactId>neo4j-example</artifactId>
9-
<version>1.0.0-beta7</version>
9+
<version>1.1.0-beta7</version>
1010
<parent>
1111
<groupId>org.springframework.boot</groupId>
1212
<artifactId>spring-boot-starter-parent</artifactId>

neo4j-example/src/main/java/Neo4jRagAsAToolExample.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,10 @@ public static void main(String[] args) {
105105

106106
// Ask a question answered by retrieval QA chain
107107
String chat = assistant.chat("""
108-
Ingest from document 'myname.txt', and then return the answer for the question 'What is the cancellation policy?'""");
108+
Ingest from document 'miles-of-smiles-terms-of-use.txt', and then return the answer for the question 'What is the cancellation policy?'""");
109109
System.out.println("ANSWER: " + chat);
110110
// example output:
111-
// `ANSWER: John Doe is a Super Saiyan`
111+
// `ANSWER: Reservations can be cancelled up to 7 days prior to the start of the booking period.
112112
}
113113
}
114114
}

0 commit comments

Comments
 (0)