[Docs] Update pinecone integration docs (#1296)

This commit is contained in:
Deshraj Yadav
2024-03-01 16:49:43 -08:00
committed by GitHub
parent 7e1d2ffdd7
commit 8d7e8b6fb9

View File

@@ -98,6 +98,9 @@ app.add("/path/to/file.pdf", data_type="pdf_file", namespace="my-namespace")
# Query
app.query("<YOUR QUESTION HERE>", namespace="my-namespace")
# Chat
app.chat("<YOUR QUESTION HERE>", namespace="my-namespace")
```
Under the hood, Embedchain fetches the relevant chunks from the documents you added by doing hybrid search on the pinecone index.