You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Service/Agent/Intent/ArchitectIntent.php
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,7 @@ public function getMessage(): string
44
44
$hint.= 'Therefor you need generate a list of operations and optional tables following the provided JSON schema.' . "\n";
45
45
$hint.= 'You should think like an REST API expert which has deep knowledge in describing API endpoints.' . "\n";
46
46
$hint.= 'The action of the operation should be described as text which is used later on by a different agent to generate the actual code.' . "\n";
47
+
$hint.= 'If needed describe in the action that the user id of the current authenticated user should be used.' . "\n";
47
48
$hint.= 'The incoming/outgoing schemas of the operation should be described as text which is used later on by a different agent to generate the actual schema.' . "\n";
48
49
$hint.= 'If the logic needs to persist data you also need to generate a fitting database table schemas.' . "\n";
0 commit comments