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
809 stars 232 forks source link

FR: Auto-Folding Message & Source Citation for Search #69

Closed omegaduncan closed 1 week ago

omegaduncan commented 1 week ago

1. Message Auto-Folding:

Currently, the bot's responses, especially in busy group chats, can be quite lengthy and disruptive. This feature requests an auto-folding option for bot messages to mitigate this issue.

This would significantly improve the user experience in group chats by minimizing clutter and allowing users to expand messages only when needed.

2. Source Citation for Search Results:

When the bot utilizes the search functionality (DuckDuckGo or Google), it would be beneficial to include the source URL(s) of the information retrieved. This enhances transparency and allows users to verify the information's origin and explore the context further.

This could be implemented by appending the relevant URL(s) at the end of the bot's response, perhaps using a consistent format like:

Source(s): [link1], [link2], etc.

This relatively simple addition would greatly improve the reliability and academic integrity of the bot's responses.

yym68686 commented 1 week ago

Source URL citation feature has been implemented. Text folding functionality is not considered for now.