An application that generates a random interesting question to be used as an "ice breaker" in a conversation.
Go to the Groq Cloud to get your free API key and export it as an environment variable.
export GROQ_API_KEY='<api_key>'
Clone the github repository and navigate to the root folder.
git clone <repo-link>
cd ice-breaker-gpt
Create a virtual environement and install the necessary libraries from requirements.txt
file.
python -m venv env
env\Scripts\activate
pip install -r requirements.txt
Run the FastAPI endpoint using uvicorn
.
uvicorn app:app --reload
Append the running URL with /gradio
to run the application. For instance for me the app runs locally at https://127.0.0.1:8000/gradio
Feel free to tweak the prompt in
instructions.txt
file to personalize your responses.
The application is deployed on Hugging Face as a space with a Gradio frontend.
I drew inspiration for this project and got the example questions (included in the prompt) from OmegleMe. Furthermore, I used this book to craft my system prompt for better responses.
Feel free to open a PR or an issue in case of any drawbacks.