Skip to content

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.

Notifications You must be signed in to change notification settings

mihirh19/Restaurant_name_generator

Repository files navigation

Restaurant_name_generator

Restaurant Name and Menu Generator

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.

Features

  • 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.

Study About Langchain ⛓️🔗

langchain

What is LangChain ?

What kind of problem does it address ?

Limitations of this architecture

  • Higher cost

  • No access to real time knowledge No access to private data sources

Langchain is a framework that allows you to build applications using LLMs

Agents

🚀 Demo :

Alt text

used LLM

Cohere command-r-plus

Requirements

  • Python 3.12
  • LangChain
  • Cohere Python SDK

Installation

  1. Clone the repository:

    git clone https://github.com/mihirh19/Restaurant_name_generator
    cd Restaurant_name_generator
  2. Install the required packages:

    pip install -r requirements.txt
  3. 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 a secrets.toml file and write api key in file.
    COHERE_API_KEY = "Your Api key"

Usage

  1. Run the script
    streamlit run .\main.py

Author

👤 Mihir Hadavani

Show your support

Give a ⭐️ if this project helped you!

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published