Rerank Pinecone knowledge search results with Cohere
Return the top three matching knowledge passages after a Pinecone vector search and a Cohere relevance check.
9 stepsProductivity
Free to start, no card required.
How it works
When this happens
Run an internal knowledge search
Manual Trigger
Step 1 · Code
Set the question and text field

Step 2 · Cohere
Embed the search question
Step 3 · Code
Verify the query vector

Step 4 · Pinecone
Retrieve matching knowledge passages
Step 5 · Code
Prepare the retrieved passages
Step 6
Check for passages to rank
Follows the first path that matches
Passages found

Step 7 · Cohere
Rerank the passages
Step 8 · Code
Return the ranked source passages
Otherwise
Nothing happens
Before you start
Enter the search question and the metadata key containing the passage text. Select a Pinecone index and namespace built with Cohere embed-v4.0 using 1536 dimensions. Run the flow on demand and read the ranked passages in its final step.
Similar templates
See all 88 in Productivity- Index public pages in Pinecone with Firecrawl and OpenAIRefresh embeddings for changed public articles and remove withdrawn articles or obsolete passages from the Pinecone index.Uses Schedule, Storage, Firecrawl, OpenAI, Pinecone20 steps · Product and engineering
- Check overlapping Pix links during a bank switchFind out whether the old Santander charge and the replacement Efí charge for one sale can both still be paid.Uses Manual Trigger, Santander, Efí5 steps · Finance
- Group opted-in Zoom absentees for a replay in TarventUse Zoom’s absentee report to add active Tarvent contacts who explicitly requested the webinar recording to its replay group.Uses Manual Trigger, Zoom, Tarvent9 steps · Marketing
Your first automationstarts with one sentence.
Start free with 1,000 credits, no card needed. Rather have it done for you? Our team builds it.