diff --git a/docs/docs.trychroma.com/markdoc/content/guides/build/intro-to-retrieval.md b/docs/docs.trychroma.com/markdoc/content/guides/build/intro-to-retrieval.md index 80e03ef3c42..171e83ab886 100644 --- a/docs/docs.trychroma.com/markdoc/content/guides/build/intro-to-retrieval.md +++ b/docs/docs.trychroma.com/markdoc/content/guides/build/intro-to-retrieval.md @@ -196,7 +196,7 @@ Similarly, Chroma handles the embedding of queries for you out-of-the-box. user_query = "What is your return policy for tooth brushes?" context = customer_support_collection.query( - queryTexts=[user_query], + query_texts=[user_query], n_results=1 )['documents'][0] @@ -212,7 +212,7 @@ const user_query = "What is your return policy for tooth brushes?"; const context = ( await customer_support_collection.query({ - queryTexts: [user_query], + query_texts: [user_query], n_results: 1, }) ).documents[0];