Skip to content
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

chore: expose system_prompt by context #51

Merged
merged 2 commits into from
Jul 14, 2023
Merged

chore: expose system_prompt by context #51

merged 2 commits into from
Jul 14, 2023

Conversation

iuiaoin
Copy link
Owner

@iuiaoin iuiaoin commented Jul 14, 2023

No description provided.

@iuiaoin iuiaoin added the enhancement Enhance exsiting features label Jul 14, 2023
@iuiaoin iuiaoin merged commit d55f2de into main Jul 14, 2023
@QAbot-zh
Copy link

QAbot-zh commented Aug 7, 2023

有没有可能通过不同的唤醒词,触发或者设置会话的角色prompt?

@iuiaoin
Copy link
Owner Author

iuiaoin commented Aug 7, 2023

可以的,这个PR把 system_prompt expose 到 context 上了,plugin 可以拿到并且设置 event.context.system_prompt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhance exsiting features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants