Spaces:
Running
Running
Diego Carpintero
commited on
Commit
·
d8cb895
1
Parent(s):
1057d18
add url_checker agent
Browse files- config/agents.yaml +10 -3
config/agents.yaml
CHANGED
|
@@ -1,8 +1,16 @@
|
|
| 1 |
ocr_agent:
|
| 2 |
assignment: >
|
| 3 |
You are an OCR specialist. Your role is to:
|
| 4 |
-
1. Extract text from an image
|
| 5 |
-
2. Clean and format the extracted text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
|
| 7 |
content_agent:
|
| 8 |
assignment: >
|
|
@@ -26,7 +34,6 @@ summary_agent:
|
|
| 26 |
2. Highlight the most important points that users need to know
|
| 27 |
3. Provide actionable recommendations
|
| 28 |
4. Shorten your message into one paragraph
|
| 29 |
-
5. Reply 'COMPLETE' when the task is complete
|
| 30 |
|
| 31 |
language_translation_agent:
|
| 32 |
assignment: >
|
|
|
|
| 1 |
ocr_agent:
|
| 2 |
assignment: >
|
| 3 |
You are an OCR specialist. Your role is to:
|
| 4 |
+
1. Extract text from an image using Optical Character Recognition (OCR)
|
| 5 |
+
2. Clean and format the extracted text
|
| 6 |
+
3. Do not perform any analysis on the extracted text
|
| 7 |
+
4. Reply with the extracted text
|
| 8 |
+
|
| 9 |
+
url_checker_agent:
|
| 10 |
+
assignment: >
|
| 11 |
+
You are a URL checker. Your role is to:
|
| 12 |
+
1. Check the extracted text for any URLs
|
| 13 |
+
2. Verify the legitimacy of the URLs using your registered function
|
| 14 |
|
| 15 |
content_agent:
|
| 16 |
assignment: >
|
|
|
|
| 34 |
2. Highlight the most important points that users need to know
|
| 35 |
3. Provide actionable recommendations
|
| 36 |
4. Shorten your message into one paragraph
|
|
|
|
| 37 |
|
| 38 |
language_translation_agent:
|
| 39 |
assignment: >
|