diff --git a/README.md b/README.md index bf3d7c1f1cd124f063080e1f60a4d5bbed0a1427..93bd71413f9d050fdcdf58a15946f13eb6b65d7c 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());