I’m a beginner at coding and am trying to figure out how to setup GPT-3 with Telegram so I can try it out as a chatbot on there. I’ve successfully made a regular rule based Telegram bot, but I don’t understand how to implement the basic code from the playground alongside Telegram’s API, input/output code etc.
ah, sorry I don’t know if Telegraf has a Python library, but the concept is that you take the result from completion openai.Completion.create(prompt=your_prompt) and pass it into whatever library you use to send Telegram messages
Edit:
how to implement the basic code from the playground
You can also get the code from the playground using the View Code button