File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments