To watch the demo video on the working of the agent, click here.
All the dependencies are mentioned in the requirements.txt file.
Create a new python environment for this code.
Creating python environment using conda:
Navigate to the code directory in the terminal, and run the command conda create -p venv python=3.11 -y
.
Install the dependencies using the command pip install -r requirements.txt
in the terminal.
One of the dependencies of this project is Playwright. Once it is install using pip, run the command install playwright
in the terminal.
Setup the OPENAI_API_KEY and LANGCHAIN_API_KEY in the .env file.
Run the app.py
file in the terminal from the project directory.
One human intervention is needed to login to the Flipkart website. Reason for it is given in the challenges section of the documentation.
Detailed documentation including the overview, system design and diagrams can be found here
The orders extracted by the AI Agent can be seen in the
orders.json
file.