From a6ee646ef35b18d2a0e8d33beaf42e70d67e15eb Mon Sep 17 00:00:00 2001 From: Snehil Kumar <88778723+snehil002@users.noreply.github.com> Date: Sat, 5 Aug 2023 01:02:19 +0530 Subject: [PATCH] Update get_started.mdx (#8744) - Description: Added a missing word and rearranged a sentence in the documentation of Self Query Retrievers., - Issue: NA, - Dependencies: NA, - Tag maintainer: @baskaryan, - Twitter handle: NA Thanks for your time. --- .../data_connection/retrievers/self_query/get_started.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/snippets/modules/data_connection/retrievers/self_query/get_started.mdx b/docs/snippets/modules/data_connection/retrievers/self_query/get_started.mdx index 69d16202d0..ef7fdc9bb3 100644 --- a/docs/snippets/modules/data_connection/retrievers/self_query/get_started.mdx +++ b/docs/snippets/modules/data_connection/retrievers/self_query/get_started.mdx @@ -3,7 +3,7 @@ We'll use a Pinecone vector store in this example. First we'll want to create a `Pinecone` VectorStore and seed it with some data. We've created a small demo set of documents that contain summaries of movies. -To use Pinecone, you to have `pinecone` package installed and you must have an API key and an Environment. Here are the [installation instructions](https://docs.pinecone.io/docs/quickstart). +To use Pinecone, you need to have `pinecone` package installed and you must have an API key and an Environment. Here are the [installation instructions](https://docs.pinecone.io/docs/quickstart). NOTE: The self-query retriever requires you to have `lark` package installed. @@ -85,7 +85,7 @@ retriever = SelfQueryRetriever.from_llm(llm, vectorstore, document_content_descr ``` ## Testing it out -And now we can try actually using our retriever! +And now we can actually try using our retriever! ```python @@ -198,4 +198,4 @@ retriever = SelfQueryRetriever.from_llm( ```python # This example only specifies a relevant query retriever.get_relevant_documents("What are two movies about dinosaurs") -``` \ No newline at end of file +```