This repository contains code for processing documents using OpenAI and Pinecone. The provided script reads documents from a directory, splits them into chunks, and stores them in Pinecone for efficient search.
Before running the script, make sure you have the following installed:
- Python 3.x
- Pinecone account and API key
- OpenAI account and API key
- Langchain libraries
- Clone this repository:
git clone https://github.com/hariomkumawat/pinecoin-langchain-with-openai