Skip to content

Commit

Permalink
Update pinecone-document-store.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bilgeyucel authored Jan 3, 2024
1 parent 43e1857 commit 9a1aa4d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions integrations/pinecone-document-store.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ indexing.connect("converter", "splitter")
indexing.connect("splitter", "embedder")
indexing.connect("embedder", "writer")

indexing.run({"converter": {"sources": ["filename.pdf"]}})
indexing.run({"converter": {"sources": ["filename.md"]}})
```

### Using Pinecone in a RAG Pipeline
Expand Down Expand Up @@ -180,7 +180,7 @@ indexing_pipeline.add_node(component=converter, name="PDFConverter", inputs=["Fi
indexing_pipeline.add_node(component=preprocessor, name="PreProcessor", inputs=["PDFConverter"])
indexing_pipeline.add_node(component=document_store, name="DocumentStore", inputs=["PreProcessor"])

indexing_pipeline.run(file_paths=["filename.pdf"])
indexing_pipeline.run(file_paths=["filename.md"])
```

### Using Pinecone in a Query Pipeline
Expand Down Expand Up @@ -214,4 +214,4 @@ query_pipeline.add_node(component=retriever, name="Retriever", inputs=["Query"])
query_pipeline.add_node(component=prompt_node, name="PromptNode", inputs=["Retriever"])

query_pipeline.run(query = "What is Pinecone", params={"Retriever" : {"top_k": 5}})
```
```

0 comments on commit 9a1aa4d

Please sign in to comment.