Step 1. Create a virtual environment
conda create -p myenv python=3.9 -y
step 2. Activate the environment:
conda activate myenv/
step 3. Install all the requirements:
pip install -r requirements.txt
step 4. start writing the code, with standard file name as main.py
- Upload the Image
- Extract the content from the Image using easyocr (this is a python Library)
- Extract the text into raw text variable
- Split content into Chunk
- Do Embeddings of the data (Download embeddings from the OpenAI)
- Store Data into Vector Store (eg: FAISS)
- User can pass a Prompt
- Get the Output.