自动生成对话标题
提一个比较常见的功能,自动为对话生成标题,可以让使用者自定义一个模型或者使用当前模型为对话生成标题,然后替换修改当前标题
可以,不过我看下其他软件的实现原理,比较耗费token。
以typemind举例,他的生成标题的prompt是
What would be a short and relevant title for this chat? You must strictly answer with only the title, no other text is allowed.\n\nAnswer in Mandarin
生成标题的方式以当前发送的聊天内容,通过生成标题的promp获取为对话的标题,也就是说所有对话都要发送两次。
可以,不过我看下其他软件的实现原理,比较耗费token。
以typemind举例,他的生成标题的prompt是
What would be a short and relevant title for this chat? You must strictly answer with only the title, no other text is allowed.\n\nAnswer in Mandarin
生成标题的方式以当前发送的聊天内容,通过生成标题的promp获取为对话的标题,也就是说所有对话都要发送两次。
目前比较大众的方式还是只把第一句话带着生成标题的prompt发送给AI,然后标题就确定了,除非手动更改,按照这种方式生成标题的话,可能1000条标题连一块钱也不到
可以,不过我看下其他软件的实现原理,比较耗费token。 以typemind举例,他的生成标题的prompt是
What would be a short and relevant title for this chat? You must strictly answer with only the title, no other text is allowed.\n\nAnswer in Mandarin
生成标题的方式以当前发送的聊天内容,通过生成标题的promp获取为对话的标题,也就是说所有对话都要发送两次。
目前比较大众的方式还是只把第一句话带着生成标题的prompt发送给AI,然后标题就确定了,除非手动更改,按照这种方式生成标题的话,可能1000条标题连一块钱也不到
之后会按照这个方案,会加个开关,自由选择是否打开