Auto Consultant is an app that returns a competitor analysis, business plan, and location recommendation for your product. It combines the power of Gradio, Google Maps API, and OpenAI's GPT-3.5-turbo model to provide you with valuable insights and recommendations.
- Python 3.6 or higher
- Gradio
- OpenAI
- requests
- Install the required Python packages:
pip install gradio openai requests- Save the provided code in a file named auto_consultant.py.
- Set the following environment variables:
export OPENAI_API_KEY="your_openai_api_key"
export GOOGLE_MAPS_API="your_google_maps_api_key"- Run the app:
python auto_consultant.py-
Open a web browser and navigate to the URL displayed in the terminal (e.g., http://127.0.0.1:7860/).
-
Enter the product you want to sell and the location you are considering in the textboxes provided.
-
The app will return a competitor analysis, business plan, and location recommendation based on your input.
329265441_5817165715055175_3924963602619922281_n.mp4
To modify the default settings, you can update the following variables in the auto_consultant.py file:
- OPENAI_API_KEY: Your OpenAI API key (provided as an environment variable)
- GOOGLE_MAPS_API: Your Google Maps API key (provided as an environment variable)
- radius: The search radius for finding competitors (default: 10000 meters, i.e., 10 km)