Amery2010 / TalkWithGemini

Deploy your private Gemini application for free with one click, supporting Gemini 1.5 Pro, Gemini 1.5 Flash, Gemini Pro and Gemini Pro Vision models. 一键免费部署您的私人 Gemini 应用, 支持 Gemini 1.5 Pro、Gemini 1.5 Flash、Gemini Pro 和 Gemini Pro Vision 模型。
https://gemini.u14.app
GNU General Public License v3.0
683 stars 215 forks source link

作者考虑添加“继续生成”的功能吗? #44

Open player868 opened 1 month ago

player868 commented 1 month ago

我的大致意思是说,有了这个功能后,特别是在写代码的方面上,若AI在输出代码时,突然莫名奇妙被中止,就能通过“继续生成”的功能来继续生成代码,而不是通过回复AI“继续”,来让AI继续写代码,生成新的回应。而且在传统情况下,AI很有可能会因为回复“继续”,甚至重头到尾给出完整的代码,而不是在所中断的回应内容上,给出后续部分的代码。这无疑是非常麻烦的,所以我想要作者提供“继续生成”的功能。简单来说,有了这个功能就能让AI继续生成被中断的回应。所以作者能考虑实现一下吗?

Issues-translate-bot commented 1 month ago

Bot detected the issue body's language is not English, translate it automatically.


Title: Will the author consider adding a "continue generation" function?

What I roughly mean is that with this function, especially when writing code, if the AI ​​is suddenly and inexplicably stopped when outputting code, it can continue to generate code through the "continue generation" function, instead of By replying to the AI ​​"continue", the AI ​​continues to write code and generate new responses. And under traditional circumstances, the AI ​​is likely to continue due to the reply, or even give the complete code from scratch, which is undoubtedly very troublesome, so I want the author to provide a "continue generation" function. Simply put, this feature allows the AI ​​to continue generating interrupted responses. So can the author consider implementing it?

player868 commented 1 month ago

当然,我的想法是这样的,“继续生成”的功能不一定要专注于代码编程而实现,而是通用的,例如配合图下的AI回应编辑功能,使得AI生成的回应内容变得更加可控,或者是更多的其它作用等等 Screenshot_20240722_084333

Issues-translate-bot commented 1 month ago

Bot detected the issue body's language is not English, translate it automatically.


Of course, my idea is that the "continue generation" function does not necessarily have to focus on code programming, but is universal. For example, with the AI ​​response editing function below, the AI-generated response content becomes more accessible. control, or more other functions, etc. Screenshot_20240722_084333

Amery2010 commented 1 month ago

这个功能实现上应该不难,重点是可以找到合适的 prompt 让 ai 可以合理的续写内容。 我在后续版本会考虑增加这类功能。

Issues-translate-bot commented 1 month ago

Bot detected the issue body's language is not English, translate it automatically.


It shouldn't be difficult to implement this function. The key is to find a suitable prompt so that AI can continue writing content reasonably. I will consider adding this feature in subsequent versions.