Set up the base vector store retriever
Let’s start by initializing a simple vector store retriever and storing the 2023 State of the Union speech (in chunks). We can set up the retriever to retrieve a high number (20) of docs.Set the Jina and OpenAI API keys
Doing reranking with JinaRerank
Now let’s wrap our base retriever with a ContextualCompressionRetriever, using Jina Reranker as a compressor.QA reranking with Jina Reranker
Connect these docs programmatically to Claude, VSCode, and more via MCP for real-time answers.