-
Notifications
You must be signed in to change notification settings - Fork 382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
长记忆prompt建议 #4
Comments
另外,可以赋予其自动填写并回答prompt的能力,下面是一个以prompt生prompt的例子(自己写的): 请根据用户问题对应的意图,填充""" """中的Prompt框架中的{}, 生成一个完整的Prompt。要求如下:
""" |
很棒!问一下(1)在哪个模型上测的呢(GPT3.5 / GPT4/ Claude or 其他)? |
(1)定义的格式变得更加复杂了,我觉得不如markdown格式,有利于理解. |
真秀啊👍 |
可以在prompt中加一个"Context_memory"模块进行连续对话语境记忆,下面是我自己验证有效的写法:
以one-shot给出一个例子,每一轮对话重申这个要求,10级轮长对话后效果如下:
"Context_memory":"{Previous invitation to watch the new Marvel movie 'Guardians of the Galaxy Vol. 3' together was accepted. Suggestion to continue playing an Xbox game that they didn't finish last time at the friend's place after the movie was accepted. Concern that the friend's parents might worry if he stays out overnight. Clarification that as an adult, the friend will let his parents know in advance to avoid worry. Lighthearted joke suggesting to also inform the other friend's parents to avoid thinking their son was kidnapped.}"
The text was updated successfully, but these errors were encountered: