Skip to content

ChatAI is a Telegram Bot integrated with OpenAI and helps you with Text Completion and Image Generation right in the Telegram.

Notifications You must be signed in to change notification settings

lunaSnowflake/ChatAI-Telegram-Bot

Repository files navigation

ChatAI πŸ€–

ChatAI Banner

Introduction

Introducing ChatAI, a versatile Telegram bot powered by OpenAI's advanced language processing technologies ChatGPT3 and DALL-E 2. With ChatAI, you can easily access powerful text completion and image generation capabilities right within your Telegram chats. Simply add ChatAI to your chat and start using it to elevate your conversations to new heights of efficiency and creativity. ChatAI is OpenAI but for Telegram.

ChatAI completed 1000+ users!

1000 Users Gif

Features

Text Completion

The Text Completion feature uses powerful engines of OpenAI and generates Text Completion right in Telegram.

Image Generation

The Image Generation feature uses powerful engines of OpenAI and generates Images right in Telegram.

Inline Queries

The Inline Query feature enables users to generate Text Completion or Images from "any chat". (Chat with your friends and family). You can simply write @ChatAI_wbot in any chat and enjoy Text Completion.

Generate Probabilities

Generate Probabilities is a feature for users (geeks) to analyze the Likelihood of a Token being generated. Turn it on from the settings gen_probs.

Text Completion

The Text Completion feature uses powerful engines of OpenAI and generates Text Completion right in Telegram.

Text Completion

The Text completion will be generated with the user's settings.

Inline Query

The Inline Query feature enables users to generate Text Completion right from any chat (Chat with your friends and family). You can simply write @chat_with_ai_bot in any chat and enjoy Text Completion.

Inline Query

The Text completion will be generated with the user's settings.

Generate Probabilities

Generate Probabilities is a feature for users (geeks) to analyze the Likelihood of a Token being generated.
You can enable the feature by /gen_probs command.

/gen_probs      # For GUI
# or 
/gen_probs 1    # Direct Enablement

Generate Probabilities Generated Probabilities
The Text completion will be generated with the user's settings.

Commands

You can use the commands to change the settings for your Text Completion process.

Bot Commands

Commands Type Description
/start Command Start Bot
/chat Command Start chatting with OpenAI
/help Command Get Help
/exit Command Exit OpenAI Prompt
/commands Command Get all OpenAI commands
/default Command Fall back to default settings
/contact Command Connect with me
/q_set Command Quickly Change User Settings

OpenAI Commands

Commands Type Description Values
/model Command The model which will generate the completion. text-davinci-003
text-curie-001
text-babbage-001
text-ada-001
/temperature Command Control Randomness. 0 to 1
/max_length Command Maximum number of tokens to generate. text-davinci-003 : 1 to 4096
text-curie-001 : 1 to 2048
text-babbage-001 : 1 to 2048
text-ada-001 : 1 to 2048
/stop Command n sequences where the API will stop generating further tokens. user input
/top_p Command Top probability Tokens. 0 to 1
/frequency_penalty Command Decreasing the model's likelihood to repeat the same line verbatim. -2 to 2
/presence_penalty Command Increasing the model's likelihood to talk about new topics. -2 to 2
/best_of Command Generate multiple completion on the server:side and return only the best. 1 to 20
/n Command How many completions to generate for each prompt. 1 to 20
/gen_probs Command Generate a full spectrum probabilities of tokens. True or False
/echo Command Echo back the prompt in addition to the completion. True or False

🌟 Acknowledgements:

OpenAI Playground

I am open to any suggestions, connect with me anywhere!
Also, I would appreciate it if I can get a 🌟 for this repository from your side. ☺

πŸ’» Tech Stack:

Python AWS AmazonDynamoDB FastAPI Heroku Flask Docker LINUX

πŸ’« About Me:

Dev Gif

I am a Data Scientist/Analyst and a Developer
Check out my GitHub profile for more details! See you on the other side :)

🌐 Socials:

LinkedIn Kaggle Medium Twitter

Support

For support, email hussainkhatumdi67+chatai@gmail.com

About

ChatAI is a Telegram Bot integrated with OpenAI and helps you with Text Completion and Image Generation right in the Telegram.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages