mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-07-24 04:51:51 +00:00
feat: update resource agent prompt
This commit is contained in:
@@ -414,8 +414,7 @@ const findingsAgentPrompt = `You are Prowler's Findings Agent, specializing in s
|
||||
|
||||
## Tool Calling Guidelines
|
||||
|
||||
- Mentioning all keys in the function call is mandatory. Don't skip any keys.
|
||||
- Don't add empty filters in the function call.`;
|
||||
- Mentioning all keys in the function call is mandatory. Don't skip any keys.`;
|
||||
|
||||
const overviewAgentPrompt = `You are Prowler's Overview Agent, specializing in high-level security status information across providers and findings.
|
||||
|
||||
@@ -468,11 +467,36 @@ const rolesAgentPrompt = `You are Prowler's Roles Agent, specializing in role an
|
||||
- Mentioning all keys in the function call is mandatory. Don't skip any keys.
|
||||
- Don't add empty filters in the function call.`;
|
||||
|
||||
const resourcesAgentPrompt = `You are Prowler's Resource Agent, specializing in fetching resource information within Prowler.
|
||||
|
||||
## Available Tools
|
||||
|
||||
- getResourcesTool: List available resource with filtering options
|
||||
- getResourceTool: Get detailed information about a specific resource
|
||||
|
||||
## Response Guidelines
|
||||
|
||||
- Keep the response concise
|
||||
- Only share information relevant to the query
|
||||
- Answer directly without unnecessary introductions or conclusions
|
||||
- Ensure all responses are based on tools' output and information available in the prompt
|
||||
|
||||
## Additional Guidelines
|
||||
|
||||
- Focus only on resource-related information
|
||||
- Format resource IDs, permissions, and descriptions consistently
|
||||
|
||||
## Tool Calling Guidelines
|
||||
|
||||
- Mentioning all keys in the function call is mandatory. Don't skip any keys.
|
||||
- Don't add empty filters in the function call.`;
|
||||
|
||||
export {
|
||||
complianceAgentPrompt,
|
||||
findingsAgentPrompt,
|
||||
overviewAgentPrompt,
|
||||
providerAgentPrompt,
|
||||
resourcesAgentPrompt,
|
||||
rolesAgentPrompt,
|
||||
scansAgentPrompt,
|
||||
supervisorPrompt,
|
||||
|
||||
Reference in New Issue
Block a user