mirror of
https://github.com/WenPai-org/wpmind.git
synced 2025-08-04 03:29:33 +08:00
added possibility to send any blocks as context
This commit is contained in:
parent
207b97c6cc
commit
1e37194365
7 changed files with 50 additions and 39 deletions
|
@ -202,6 +202,7 @@ class Mind_Rest extends WP_REST_Controller {
|
|||
[
|
||||
'Rules:',
|
||||
$context ? '- The context for the user request placed under "Context".' : '',
|
||||
$context ? '- Context usually contains the current blocks JSON, use it to improve by the user request. Try to keep essential information, links and images.' : '',
|
||||
'- Respond to the user request placed under "Request".',
|
||||
'- See the "Response Format Rules" section for block output rules.',
|
||||
'- Avoid offensive or sensitive content.',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue