Go to BotFather to create new Telegram bot. You can then either create a new app using Telegram bot template or install the Telegram plugin in your existing app.
You can explore the techniques for building Telegram bots on Directual in our documentation. Here we’ll just play around one scenario that is set to trigger on every new object in TMessageIn data structure.
We’ve added field for storing chat history on TChat object
Let’s add a condition to the scenario if message text equals “/start”, clear the chat history and start from the beginning.
That is it! The dialogue with the bot may look like (it gets the context):
If you have any questions, shoot us a message on firstname.lastname@example.org. Also, don’t hesitate to join Directual community of no-coders.
OpenAI is a research laboratory based in San Francisco, California, focused on artificial intelligence (AI) research and development. Founded in December 2015, OpenAI's mission is to ensure that artificial general intelligence (AGI) benefits all of humanity.
ChatGPT is an open-source natural language processing (NLP) model developed by OpenAI. It is a transformer-based language model that uses deep learning to produce human-like conversations. ChatGPT is designed to generate human-like responses to
To use no-code and ChatGPT, you will need to create a chatbot using a no-code platform such as Directual. Once you have created your app, you can integrate ChatGPT into it by using the OpenAI-plugin. This will allow you to generate human-like interaction to your app.
Hop into our cozy community and get help with your projects, meet potential co-founders, chat with platform developers, and so much more.