Pinecone is a vector database with broad functionality.This notebook goes over how to use a retriever that under the hood uses Pinecone and Hybrid Search. The logic of this retriever is taken from this documentation To use Pinecone, you must have an API key and an Environment. Here are the installation instructions.
OpenAIEmbeddings
so we have to get the OpenAI API Key.