This project uses LangChain and GROQ to generate cute pet names based on user input. It prompts the user to enter the type of animal they have and then suggests five cute names for that pet.
To run this project, you need Python 3.6 or higher installed. Follow these steps to set up the project:
-
Clone the repository:
git clone https://github.com/uditi1002/pet-name-generator.git cd pet-name-generator
-
Create and activate a virtual environment:
python -m venv .venv source .venv/bin/activate
-
Install dependencies:
pip install -r requirements.txt
-
Set up environment variables:
Create a .env file in the root directory and add your GROQ API key:
GROQ_API_KEY=your_groq_api_key_here
-
Run the application:
python main.py
- When prompted, enter the type of animal you want to name.
- The program will generate and display five cute names for your pet.