tpai / summary-gpt-bot

An AI-powered text summarization Telegram bot that generates concise summaries of text, URLs, PDFs, and YouTube videos.
https://t.me/summarygptenbot
203 stars 33 forks source link

Support for gpt-4o #9

Closed gianlucaalfa closed 5 months ago

gianlucaalfa commented 5 months ago

I updated some libraries , it now supports gpt-4o (half of the price of gpt-4-turbo and faster) I need make and build-essential to make it work on my RPi4 . Everything is tested and working (except DDG, I get Ratelimit)

Thank you

tpai commented 5 months ago

@gianlucaalfa I have no experience on RPi4. What's the step blocked you and it requires make and build-essential packages?

tpai commented 5 months ago

For the DDG rate limit issue, I had some digging and got a workaround version duckduckgo_search==5.3.0b4.

Ref: https://github.com/deedy5/duckduckgo_search/issues/213#issuecomment-2103572897

gianlucaalfa commented 5 months ago

I don't remember exactly what was the error for the RPi4 I will try in the next days and report to you Regarding DDG, I hope that version fixes it :)

I just suggest you to update LiteLLM to use gpt-4o as it is faster and cheaper

gianlucaalfa commented 5 months ago

I can confirm that duckduckgo_search==5.3.0b4 fixes the problem :)

tpai commented 5 months ago

I don't remember exactly what was the error for the RPi4 I will try in the next days and report to you Regarding DDG, I hope that version fixes it :)

I just suggest you to update LiteLLM to use gpt-4o as it is faster and cheaper

No worry, I'm just curious and hoping to learn new stuff.

Thanks to your info, gpt-4o is really amazing.