GithubHelp home page GithubHelp logo

Comments (14)

scmanjarrez avatar scmanjarrez commented on May 26, 2024 1

I'm currently working on the feedback of button pressed. Using ReplyKeyboard was a bad idea from the beginning because I can't modify the custom keyboard without sending new messages

from edgegpt-telegram-bot.

scmanjarrez avatar scmanjarrez commented on May 26, 2024 1

I'm using openai official library. I've seen this library that could be a good idea as well: https://github.com/waylaidwanderer/node-chatgpt-api, it sets up a server that can be used to interact with openai/bingchat

from edgegpt-telegram-bot.

hdcola avatar hdcola commented on May 26, 2024

I like old keyboard, because when I push the button, I can feel to have to do something.

from edgegpt-telegram-bot.

scmanjarrez avatar scmanjarrez commented on May 26, 2024

My intention is to generate a new message after pressing a button with your input (and edit the last message to remove the buttons), then edit it after the response is ready

from edgegpt-telegram-bot.

scmanjarrez avatar scmanjarrez commented on May 26, 2024

I've released a new version with improvement to the keyboard interaction, do you mind checking it? I hope now is more interactive and clearer when you select an option. https://github.com/scmanjarrez/Edge-GPT-Telegram-Bot/releases/tag/0.1.1

from edgegpt-telegram-bot.

hdcola avatar hdcola commented on May 26, 2024

I've released a new version with improvement to the keyboard interaction, do you mind checking it? I hope now is more interactive and clearer when you select an option. https://github.com/scmanjarrez/Edge-GPT-Telegram-Bot/releases/tag/0.1.1

ok, I try it now

from edgegpt-telegram-bot.

hdcola avatar hdcola commented on May 26, 2024

I tried your latest version. If you like it, you can do it, but in terms of the complexity of the program, it's better to use the previous keyboard mode. Because you use requests on multiple servers just to imitate native clicks on a client. Of course, if you like this way, you can use it. If it is difficult for you to decide, I think you can add one to the settings, using the earliest keyboard or the previous version of the keyboard.

Why do I say this? Because if you use ReplyKeyboardMarkup, its advantage is that it is fast. If you click it, there will be a response, and users will not be confused. InlineKeyboardMarkup is more for users who use telegram for a longer time. They know what will happen when they press it, and they will enjoy the tips of learning about EdgeGPT in history. If you use InlineKeyboardMarkup to simulate ReplyKeyboardMarkup, which user gets the worst experience and does not bring more benefits.

from edgegpt-telegram-bot.

scmanjarrez avatar scmanjarrez commented on May 26, 2024

I understand it, both methodologies have their positive and negative aspects... ReplyKeyboard clutter the interface of the user (I use it in a group, and having the custom keyboard for every user is a hassle for everyone). I'll try to keep it as optional (but I have other priorities like openai api, that I'm currently working on)

from edgegpt-telegram-bot.

hdcola avatar hdcola commented on May 26, 2024

Yes, I‘m just giving you my feedback and opinions. Indeed, it is a good idea to access openai now. By the way, I still strongly recommend using a lib that can use the official openai api or use web reverse engineering.
In fact, there are already related projects, and I have tried them in the past two days.

from edgegpt-telegram-bot.

hdcola avatar hdcola commented on May 26, 2024

I like this project

https://github.com/altryne/chatGPT-telegram-bot

from edgegpt-telegram-bot.

scmanjarrez avatar scmanjarrez commented on May 26, 2024

I tried it months ago, but I couldn't make it work from a headless server.

from edgegpt-telegram-bot.

hdcola avatar hdcola commented on May 26, 2024

I tried it months ago, but I couldn't make it work from a headless server.

Yes, but I think this is the value of our project, because now the project using the official API is very mature. I’m going to add the TTS function to one of them. We don‘t have to write another one again.

from edgegpt-telegram-bot.

hdcola avatar hdcola commented on May 26, 2024

I'm using openai official library. I've seen this library that could be a good idea as well: https://github.com/waylaidwanderer/node-chatgpt-api, it sets up a server that can be used to interact with openai/bingchat

I looked at this project and tried to support the web. It’s very good. I think it‘s worth trying!

from edgegpt-telegram-bot.

scmanjarrez avatar scmanjarrez commented on May 26, 2024

Added on 69fcf47

from edgegpt-telegram-bot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.