Update tools/web_page_information_extractor.py
Browse files
tools/web_page_information_extractor.py
CHANGED
|
@@ -16,13 +16,11 @@ from pydantic import SecretStr
|
|
| 16 |
def web_page_information_extractor(url: str, request: str) -> str:
|
| 17 |
"""
|
| 18 |
Extracts specific information from a web page based on the user's request.
|
| 19 |
-
|
| 20 |
-
of a web page specified by the URL. The user's request specifies the type of
|
| 21 |
-
information to be extracted. The function returns the extracted information as
|
| 22 |
-
a JSON string.
|
| 23 |
Args:
|
| 24 |
url (str): The URL of the web page to extract information from.
|
| 25 |
request (str): The user's request describing the information to extract.
|
|
|
|
| 26 |
Returns:
|
| 27 |
str: The extracted information in JSON format.
|
| 28 |
"""
|
|
|
|
| 16 |
def web_page_information_extractor(url: str, request: str) -> str:
|
| 17 |
"""
|
| 18 |
Extracts specific information from a web page based on the user's request.
|
| 19 |
+
|
|
|
|
|
|
|
|
|
|
| 20 |
Args:
|
| 21 |
url (str): The URL of the web page to extract information from.
|
| 22 |
request (str): The user's request describing the information to extract.
|
| 23 |
+
|
| 24 |
Returns:
|
| 25 |
str: The extracted information in JSON format.
|
| 26 |
"""
|