GithubHelp home page GithubHelp logo

Comments (6)

scmanjarrez avatar scmanjarrez commented on May 23, 2024

Related #75. I didn't expect Bing answer more than 4k tokens. Do you mind sharing the prompt?

from edgegpt-telegram-bot.

x4team avatar x4team commented on May 23, 2024

Related #75. I didn't expect Bing answer more than 4k tokens. Do you mind sharing the prompt?

According to the new rules, Bing responds even with 64kb !!!!

I made my bot send the message as a text file, because I couldn't split the message into parts with the markdown markup preserved, since there are big problems with markdown parsing in telegram

image

from edgegpt-telegram-bot.

x4team avatar x4team commented on May 23, 2024

my prompt:

Imagine that you are a python senior developer with a lot of experience. I'm a junior and you help me write a telegram bot in python using the aiogram library. Below are the lists of commands, you can use them to determine all the necessary functionality.
All tokens and passwords should be stored in config.json, and the database for each chat user and his personal boards in a common db.json file with python dictionaries.

/start - welcome message with text "Hi! I'm your assistant with tasks. Here is a list of commands you can use"
/addboard "BOT" - add board with name BOT and sections with names: backlog, todo, inprogress, done
/getboards - get all boards name
/deleteboard "BOT" - delete board BOT and all tasks in it board

/selectboard BOT - activate BOT board
/tasks - get all tasks in BOT board
/add  "BOT-1. Hello" - add task to backlog section by default
/del BOT-1 - remove task 1  from backlog or todo or inprogress or done
/backlog BOT-1 - move task BOT-1 to backlog section
/todo BOT-1  - move task BOT-1 to todo section
/inprogress BOT-1 - move task BOT-1 to inprogress section
/done BOT-1 - move task BOT-1 to done
Also use emojis in all reply messages to users on command

from edgegpt-telegram-bot.

x4team avatar x4team commented on May 23, 2024

UPDATE: 64k for questions, and max 8k for answers (for Russian)

from edgegpt-telegram-bot.

scmanjarrez avatar scmanjarrez commented on May 23, 2024

Yeah... That's my concern, how to handle the markdown in long messages. But your approach may be the only way. I'll think about it

from edgegpt-telegram-bot.

Eikosa avatar Eikosa commented on May 23, 2024

Yeah... That's my concern, how to handle the markdown in long messages. But your approach may be the only way. I'll think about it

In long messages containing code, it can send it as a document, otherwise it can split the message.

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.