Update app.py
Browse files
app.py
CHANGED
|
@@ -21,7 +21,9 @@ PROMPT_TEMPLATE = """Extract plant information from anywhere but check its corre
|
|
| 21 |
|
| 22 |
Plant Name : {plant_name}
|
| 23 |
Additional content: '''{content}'''
|
| 24 |
-
Output ONLY valid JSON with the specified keys. Use empty strings for missing information.
|
|
|
|
|
|
|
| 25 |
|
| 26 |
def fetch_page_content(url: str):
|
| 27 |
"""Get webpage content with error handling"""
|
|
|
|
| 21 |
|
| 22 |
Plant Name : {plant_name}
|
| 23 |
Additional content: '''{content}'''
|
| 24 |
+
Output ONLY valid JSON with the specified keys and its values as Strings. Use empty strings for missing information.
|
| 25 |
+
Example for output: {"key":"value","key":"value","key":"value"}
|
| 26 |
+
"""
|
| 27 |
|
| 28 |
def fetch_page_content(url: str):
|
| 29 |
"""Get webpage content with error handling"""
|