This is the Demo implementation of E-Chef. That helps the Restaurant Operation team with data-analysis using OpenAI's GPT-3.5 LLM
and langchain
-
Install Requirements:
- Make sure you have Python 3.x installed on your system.
- Install the required packages by running the following command:
pip install -r requirements.txt
-
Run the Server:
- Start the server by running the following command:
python main.py
- Start the server by running the following command:
-
Initial Data Analysis:
- To perform an initial data analysis from CSV file, send a GET request to the following URL:
http://0.0.0.0:8080/start_analysis
- To perform an initial data analysis from CSV file, send a GET request to the following URL:
-
Interacting with E-Chef:
- To interact with E-Chef , send a POST request to the following URL:
http://0.0.0.0:8080/ask_e_chef
- Include the following JSON body in the request:
Replace "user_message" with your actual message/question.
{ "user": "user_message" }
- To interact with E-Chef , send a POST request to the following URL:
Please note that the server is expected to be running on your local machine (localhost) at port 8080 (http://0.0.0.0:8080). Adjust the URL accordingly if you have configured it differently.