Skip to content

Commit

Permalink
Files added
Browse files Browse the repository at this point in the history
  • Loading branch information
yesbhautik authored Oct 15, 2023
1 parent b281842 commit b86a9c3
Show file tree
Hide file tree
Showing 15 changed files with 1,466 additions and 0 deletions.
23 changes: 23 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
FROM python:3.8-slim

RUN \
set -eux; \
apt-get update; \
DEBIAN_FRONTEND="noninteractive" apt-get install -y --no-install-recommends \
python3-pip \
build-essential \
python3-venv \
ffmpeg \
git \
; \
rm -rf /var/lib/apt/lists/*

RUN pip3 install -U pip && pip3 install -U wheel && pip3 install -U setuptools==59.5.0
COPY ./requirements.txt /tmp/requirements.txt
RUN pip3 install -r /tmp/requirements.txt && rm -r /tmp/requirements.txt

COPY . /code
WORKDIR /code

CMD ["bash"]

108 changes: 108 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
# Master AI BOT: Fastest Telegram AI BOT. Voice Support. GPT-4. Unique Chat Modes

<p align="center">
<img src="https://pub-f858c7e521464395920779af297fb1bd.r2.dev/Master-AI-BOT-GIT.gif" align="center" style="width: 100%; border-radius: 20px" />
</p>

Unleash the power of ChatGPT with our Telegram Bot! Say goodbye to the laggy experience of chat.openai.com, daily usage limits, and outdated web interfaces.

You can deploy your own bot or use our streamlined version: [Click Here](https://t.me/Master_AI_YESBHAUTIK_BOT)

## Key Features

- Lightning-fast responses (typically within 3-5 seconds)
- No request limits – chat as much as you want
- Seamless message streaming (see the demo)
- Powered by GPT-4
- Group chat support (/help_group_chat for instructions)
- DALLE 2 integration (select 👩‍🎨 Artist mode for image generation)
- Voice message recognition
- Code highlighting for developers
- 15 special chat modes: 👩🏼‍🎓 Assistant, 👩🏼‍💻 Code Assistant, 👩‍🎨 Artist, 🧠 Psychologist, 🚀 Elon Musk, and more. Customize your chat modes by editing `config/chat_modes.yml`
- Utilize the [ChatGPT API](https://platform.openai.com/docs/guides/chat/introduction)
- Control access with a list of authorized Telegram users
- Keep track of your OpenAI API spending

<p align="center">
<img src="https://github.com/yesbhautik/Master-AI-BOT/blob/main/static/help_group.gif?raw=true" style="width: 40%; border-radius: 20px"/>
</p>

---

## Bot Commands

- `/retry` – Regenerate the last response from the bot
- `/new` – Start a new conversation
- `/mode` – Choose a chat mode
- `/balance` – Check your OpenAI API balance
- `/settings` – View and adjust bot settings
- `/help` – Get assistance with using the bot

## Getting Started

1. Obtain your [OpenAI API key](https://openai.com/api/).

2. Get your Telegram bot token from [@BotFather](https://t.me/BotFather).

3. Pre-requirements Installation [For Debian Based Environment only, for other system please install manually: Docker, Docker-compose, Python, pip]

```bash
sudo apt -y update
sudo apt -y install ca-certificates curl gnupg lsb-release docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin docker docker.io docker-compose python3 python3-pip
```

4. Clone the repository:

```bash
git clone https://github.com/yesbhautik/Master-AI-BOT
```

5. Go to the project directory:

```bash
cd Master-AI-BOT
```

6. Install dependencies:

```bash
pip3 install -r requirements.txt
```

7. Edit the configuration file `config/config.yml` to set your tokens. You can also edit `config/config.env` if you're an advanced user.

8. 🔥 Now, it's time to **run**:

```bash
docker-compose --env-file config/config.env up --build -d
```

## References

1. Learn more about how we built ChatGPT from GPT-3: [Build ChatGPT from GPT-3](https://learnprompting.org/docs/applied_prompting/build_chatgpt)

## 🔥 Show Your Support | Make a Donation

If you find this repository helpful, please show your support by giving it a ⭐! Your support means a lot to us and encourages us to contribute more to the open-source community.

Additionally, if you'd like to offer financial support, you can do so via our donation link: [Make a Donation](https://go.yesbhautik.co.in/8i6wdu)
<br>
<a href="https://go.yesbhautik.co.in/8i6wdu">
<img src="https://www.pngall.com/wp-content/uploads/2016/05/PayPal-Donate-Button-Free-Download-PNG.png" alt="Donate" width="100">
</a>
## 💬 Let's Connect

Feel free to reach out to us if you have questions, ideas, or simply want to chat. We're here to help and connect with the community.
- Website: [https://yesbhautik.co.in/](https://yesbhautik.co.in/)
- Another One: [https://yesbhautikx.co.in/](https://yesbhautikx.co.in/)
- LinkedIn profile: [https://www.linkedin.com/in/yesbhautik](https://www.linkedin.com/in/yesbhautik)
- Instagram page: [https://www.instagram.com/yesbhautik](https://www.instagram.com/yesbhautik)
## 📜 License
This repository is licensed under the MIT License. For more information, see the [LICENSE](LICENSE) file.
Transforming your `readme.md` into an attractive, user-friendly guide is crucial for engaging your audience and making a lasting impression. If you have any further requests or need assistance with anything else, feel free to ask.
Empty file added bot/__init__.py
Empty file.
Loading

0 comments on commit b86a9c3

Please sign in to comment.