Skip to content

myGPTReader is a slack bot that can read any webpage, ebook, video(YouTube) or document and summarize it with chatGPT. It can also talk to you via voice using the content in the channel.

License

Notifications You must be signed in to change notification settings

paarai/myGPTReader

 
 

Repository files navigation

myGPTReader

myGPTReader is a slack bot that can read any webpage, ebook, video(YouTube) or document and summarize it with chatGPT. It can also talk to you via voice using the content in the channel.

The exciting part is that the development of this project is also paired with chatGPT. I document the development process in this CDDR file.

Main Features

  • Stay updated with the latest news summaries daily with chatGPT. my-gpt-reader-read-hot-news-1-s-min
  • Use chatGPT to read and provide a summary of any webpage include the video(YouTube). my-gpt-reader-read-web-page-1
  • Use chatGPT to read and provide a summary of any document include the eBook. my-gpt-reader-read-pdf-1-s-min
  • Enjoy customizable prompt templates that use context from previous conversations with chatGPT.
  • Practice speaking languages by conversing with chatGPT using your voice.

Please join this slack channel with more than 3000+ members to experience all these features for free.

TODO List

Click me
  • Integrated with slack bot
    • Bot replies messages in the same thread
  • Support web page reading with chatGPT
  • Support RSS reading with chatGPT
    • RSS is a bunch of links, so it is equivalent to reading a web page to get the content.
  • Support newsletter reading with chatGPT
    • Most newsletters are public and can be accessed online, so we can just give the url to the slack bot.
  • Prompt fine-tue
    • Support for custom prompt
    • Show prompt templates by slack app slash commands
    • Auto collect the good prompt to #gpt-prompt channel by message shortcut
  • Cost saving
    • by caching the web page llama index
      • Consider to use sqlite-vss to store and search the text embeddings
      • Use chromadb to store and search the text embeddings
      • Use the llama index file to restore the index
    • Consider to use sentence-transformers or txtai to generate embeddings (vectors)
      • Not good as the embeddings of OpenAI, rollback to use the OpenAI embeddings, and if enable to use the custom embeddings, the minimum of server's memory is 2GB which still increase the cost.
    • Consider to fine-tue the chunk size of index node and prompt to save the cost
      • If the chunk size is too big, it will cause the index node to be too large and the cost will be high.
  • Bot can read historical messages from the same thread, thus providing context to chatGPT
  • Index fine-tune
    • Use the GPTListIndex to summarize multiple URLs
    • Use the GPTTreeIndex with summarize mode to summarize a single web page
  • Bot regularly send hot summarizes(expensive cost) news in the slack channel (#daily-news)
    • Use chatGPT to summarize the hot news
    • Refer to this approach
      • World News
        • Zhihu daily hot answers
        • V2EX daily hot topics
        • 1point3acres daily hot topics
        • Reddit world hot news
      • Dev News
        • Hacker News daily hot topics
        • Product Hunt daily hot topics
      • Invest News
        • Xueqiu daily hot topics
        • Jisilu daily hot topics
  • Support file reading and analysis 💥
    • Considering the expensive billing, it needs to use the slack userID whitelist to restrict the access this feature
    • Need to cache the file Documents to save extract cost
    • EPUB
    • DOCX
    • MD
    • TEXT
    • PDF
    • Image
      • may use GPT4
  • Support voice reading with self-hosting whisper
    • (whisper -> chatGPT -> azure text2speech) to play language speaking practices 💥
    • Support language
      • Chinese
      • English
        • 🇺🇸
        • 🇬🇧
        • 🇦🇺
        • 🇮🇳
      • Japanese
      • German
  • Support video summarization
    • YouTube
  • User access limit
    • Limit the number of requests to bot per user per day to save the cost
  • IM Support
    • Slack bot
      • Bot for you 💥
    • Discord bot
    • Telegram bot
  • Bot landing page 🚩
  • Integrated with Azure OpenAI Service
  • Rewrite the code in Typescript ❓
  • Upgrade chat model (gpt-3.5-turbo) to GPT4 (gpt-4-0314) 💥
  • Publish bot to make it can be used in other workspaces
    • Slack marketplace

Documentation

Currently, if you want to know this repo quickly, you can refer to the following YouTube video:

myGPTReader Live Share

Post

Star History

Star History Chart

About

myGPTReader is a slack bot that can read any webpage, ebook, video(YouTube) or document and summarize it with chatGPT. It can also talk to you via voice using the content in the channel.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.8%
  • Procfile 0.2%