This repository contains a Python script that generates unique and catchy restaurant names and corresponding menu items using the LangChain framework with the Cohere Large Language Model (LLM). This tool is designed to help entrepreneurs and restaurateurs come up with creative and appealing names and menu ideas for their new dining establishments.
- Generate Unique Restaurant Names: Based on the specified cuisine type, the script generates creative and memorable restaurant names.
- Create Themed Menus: Generates a list of menu items along with descriptions tailored to the specified cuisine type.
What is LangChain ?
-
Higher cost
-
No access to real time knowledge No access to private data sources
Cohere command-r-plus
- Python 3.12
- LangChain
- Cohere Python SDK
-
Clone the repository:
git clone https://github.com/mihirh19/Restaurant_name_generator cd Restaurant_name_generator
-
Install the required packages:
pip install -r requirements.txt
-
Set up your Cohere API key:
- Sign up at Cohere's website to get your API key. Once you have your API key, update the cohere_api_key variable in the script:
- In
.streamlit
folder create asecrets.toml
file and write api key in file.
COHERE_API_KEY = "Your Api key"
- Run the script
streamlit run .\main.py
👤 Mihir Hadavani
- Twitter: @mihirh21
- Github: @mihirh19
- LinkedIn: @mihir-hadavani-996263232
Give a ⭐️ if this project helped you!