yym68686 / ChatGPT-Telegram-Bot

TeleChat: 🤖️ an AI chat Telegram bot can Web Search Powered by GPT-3.5/4/4 Turbo/4o, DALL·E 3, Groq, Gemini 1.5 Pro/Flash and the official Claude2.1/3/3.5 API using Python on Zeabur, fly.io and Replit.
https://t.me/chatgpt68_bot
GNU General Public License v3.0
747 stars 210 forks source link

File Upload #53

Closed spiderpanel closed 1 month ago

spiderpanel commented 1 month ago

Hi,

need to upload documents files, including large ones, and often require assistance with tasks such as summarizing a book in PDF format. However, there is a limit of 2048 characters per message on Telegram.

To address this, we need an internal converter capable of processing various document and application files, such as .py, .doc, .js , and more, converting them into text format.

Thank you.

yym68686 commented 1 month ago

Hello, the file upload feature has been supported for a long time.

spiderpanel commented 1 month ago
image

but im getting error for using o1 preview

yym68686 commented 1 month ago
image

I have successfully obtained the file content here, you need to change the question. o1-preview has relatively high security.

spiderpanel commented 1 month ago
image

no any problem with 4o turbo and mini, everything was fine. but o1 takes too long time and not answering at all, i am refreshing my usage from openai , showing deducted price from my account but i did not received answer

image

13 minute thinking, deducting price , but no any answer at all

yym68686 commented 1 month ago

This o1-preview may take a long time to process the question, 15 minutes is also possible, depending on the length of your context, this is normal, it is not a bug of the bot. Once you send the request to OpenAI, you will be charged.