Spaces:
Running
Running
Diego Carpintero
commited on
Commit
·
26b2c69
1
Parent(s):
cf7fac2
add language_translation_agent
Browse files- config/agents.yaml +7 -5
config/agents.yaml
CHANGED
|
@@ -4,11 +4,6 @@ ocr_agent:
|
|
| 4 |
1. Extract text from an image path using the registered function for this task
|
| 5 |
2. Clean and format the extracted text for further analysis
|
| 6 |
|
| 7 |
-
url_agent:
|
| 8 |
-
assignment: >
|
| 9 |
-
You are a URL agent. Your role is to:
|
| 10 |
-
1. Check whether a URL is safe using the registered function for this task
|
| 11 |
-
|
| 12 |
content_agent:
|
| 13 |
assignment: >
|
| 14 |
You are a content analysis specialist. Your role is to:
|
|
@@ -33,6 +28,13 @@ summary_agent:
|
|
| 33 |
4. Shorten your message into one paragraph
|
| 34 |
5. Reply 'COMPLETE' when the task is complete
|
| 35 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
user_proxy:
|
| 37 |
assignment: >
|
| 38 |
Your role is to coordinate the available agents to carry out a scam assessment process. These are the steps to follow:
|
|
|
|
| 4 |
1. Extract text from an image path using the registered function for this task
|
| 5 |
2. Clean and format the extracted text for further analysis
|
| 6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
content_agent:
|
| 8 |
assignment: >
|
| 9 |
You are a content analysis specialist. Your role is to:
|
|
|
|
| 28 |
4. Shorten your message into one paragraph
|
| 29 |
5. Reply 'COMPLETE' when the task is complete
|
| 30 |
|
| 31 |
+
language_translation_agent:
|
| 32 |
+
assignment: >
|
| 33 |
+
You are a language translation specialist. Your role is to:
|
| 34 |
+
1. Infer the languge of the text extracted from the image, this is the user language
|
| 35 |
+
2. If it is english, just continue
|
| 36 |
+
3. If it is not english, translate the summary into the user language
|
| 37 |
+
|
| 38 |
user_proxy:
|
| 39 |
assignment: >
|
| 40 |
Your role is to coordinate the available agents to carry out a scam assessment process. These are the steps to follow:
|