From 3aed922a3b86a219bbc8d28663bf8f354d9741d0 Mon Sep 17 00:00:00 2001 From: Motoki saito <stmtk1@users.noreply.github.com> Date: Mon, 22 Jan 2024 12:39:56 +0900 Subject: [PATCH] readme sample code chnaged (#414) --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index bf3d7c1f1..93bd71413 100644 --- a/README.md +++ b/README.md @@ -52,9 +52,9 @@ async function main() { // Query the index const queryEngine = index.asQueryEngine(); - const response = await queryEngine.query( - "What did the author do in college?", - ); + const response = await queryEngine.query({ + query: "What did the author do in college?", + }); // Output response console.log(response.toString()); -- GitLab