Skip to content
Snippets Groups Projects
Unverified Commit 3aed922a authored by Motoki saito's avatar Motoki saito Committed by GitHub
Browse files

readme sample code chnaged (#414)

parent 7c4e37c5
No related branches found
No related tags found
No related merge requests found
...@@ -52,9 +52,9 @@ async function main() { ...@@ -52,9 +52,9 @@ async function main() {
// Query the index // Query the index
const queryEngine = index.asQueryEngine(); const queryEngine = index.asQueryEngine();
const response = await queryEngine.query( const response = await queryEngine.query({
"What did the author do in college?", query: "What did the author do in college?",
); });
// Output response // Output response
console.log(response.toString()); console.log(response.toString());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment