An open API service indexing awesome lists of open source software.

https://github.com/mihirh19/restaurant_name_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.
https://github.com/mihirh19/restaurant_name_generator

cohere langchain llms streamlit

Last synced: 5 months ago
JSON representation

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.

Awesome Lists containing this project

README

          

![Restaurant_name_generator](https://socialify.git.ci/mihirh19/Restaurant_name_generator/image?description=1&font=Source%20Code%20Pro&forks=1&issues=1&logo=https%3A%2F%2Fmiro.medium.com%2Fv2%2F1*2NrgJTZkYKSN1AzFDmCLeA.png&name=1&owner=1&pattern=Brick%20Wall&pulls=1&stargazers=1&theme=Light)

# 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 ?

![](images/Aspose.Words.7aa6bd9c-a9cd-489f-8e12-4d79bc952d5c.002.jpeg)

### 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

![](images/Aspose.Words.7aa6bd9c-a9cd-489f-8e12-4d79bc952d5c.003.jpeg)

## Agents

![](images/Aspose.Words.7aa6bd9c-a9cd-489f-8e12-4d79bc952d5c.005.png)

## 🚀 Demo :

![Alt text](images/demo.png)

## used LLM

`Cohere command-r-plus`

## Requirements

- Python 3.12
- LangChain
- Cohere Python SDK

## Installation

1. **Clone the repository:**

```bash
git clone https://github.com/mihirh19/Restaurant_name_generator
cd Restaurant_name_generator
```

2. **Install the required packages:**
```bash
pip install -r requirements.txt
```
3. **Set up your Cohere API key:**
- Sign up at [Cohere's website](https://cohere.com/) 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.
```toml
COHERE_API_KEY = "Your Api key"
```

## Usage

1. **Run the script**
```bash
streamlit run .\main.py
```

## Author

👤 **Mihir Hadavani**

- Twitter: [@mihirh21](https://twitter.com/mihirh21)
- Github: [@mihirh19](https://github.com/mihirh19)
- LinkedIn: [@mihir-hadavani-996263232](https://linkedin.com/in/mihir-hadavani-996263232)

## Show your support

Give a ⭐️ if this project helped you!