Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
NotificationsYou must be signed in to change notification settings

german94/digester-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

digester-bot is a telegram bot designed to help you study a particular subject. You can send a file or link to the bot and then ask him to do different things to help you learn about a subject.

Features / modes

Summary

digester-bot can make summaries to help you understand things. In order to do that, you just need to tell them which language, max amount of words and name some topic (like a chapter, title, etc) so that the bot can focus on that when he does the summary.

Main concepts

Similar to summary, the bot can make a list of most important concepts. This can be a good alternative if you want a less verbose output. The parameters are pretty much the same as the ones for the summary, but instead of the max amount of words you provide the max amount of items in the list.

Question

Of course you can ask a question about the content that you provided. No other parameters other than the question itself are needed.

Test

This option can be very useful if you want to review the topic and test your knowledge about it. Basically the bot will ask you a question about a specific topic (this is the only parameter that you need to provide), then you answer that question and finally the bot will tell you if you're right or wrong, and provide an explanation.

Try it out!

You can trydigester-bot by usingthis link.

How does it work?

Internally, it is integrated withGPT Assistants. Because of this, the limits are much higher than the ones that are applied when you use ChatGPT directly. An assistant is created every time a user sends a content (either a link or a file) and then all the prompts will be made against that assistant.

How to run it

In order to run it you just need to set the env variablesCHAT_GPT_KEY with your OpenAI key andTBOT_TOKEN with your telegram token.digester-bot does not persist anything, so all the data is stored in memory, nothing in files/db. This makes it not very reliable but it's okay for now, I just wanted to focus on the features first and improve the technical aspects later.

Future work

  • Persist state in a NoSQL db
  • Create a simple AdminAPI to do things like listing active users and increasing limits

[8]ページ先頭

©2009-2025 Movatter.jp