Comments (6)
Related #75. I didn't expect Bing answer more than 4k tokens. Do you mind sharing the prompt?
from edgegpt-telegram-bot.
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
from edgegpt-telegram-bot.
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.
UPDATE: 64k for questions, and max 8k for answers (for Russian)
from edgegpt-telegram-bot.
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.
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)
- aiohttp.client_exceptions.WSServerHandshakeError: 200, message='Invalid response status', url=URL('wss://sydney.bing.com/sydney/ChatHub')
- Freezing when asking too many questions in a row HOT 4
- Ability to ask to send as multiple messages instead of .MD HOT 4
- More descriptive md file HOT 1
- Escape character for AI request HOT 2
- Error when sending Md HOT 3
- [Request]How to setup locally instead of cloud ? HOT 3
- [Request] Automatic switch to new chat when limit is reached HOT 2
- The bot won't open: TypeError: Timeout.__init__() got an unexpected keyword argument 'connect' HOT 4
- /reset command not working HOT 2
- Continuously creating new conversation HOT 6
- [Request] Option for chat history HOT 4
- [Request] Automatically create new converastion HOT 1
- Can't start bot HOT 2
- Drawing Image on Chat HOT 4
- Did not start conteiner with latest docker image HOT 1
- If the message does not fit, write as much as it fits and send the rest as md
- [Request] Edit with markdown as it type HOT 1
- Captcha required HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from edgegpt-telegram-bot.