Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -71,7 +71,7 @@ def request_data(query: str) -> str:
|
|
71 |
fetch_data = StructuredTool.from_function(
|
72 |
func=request_data,
|
73 |
description="""
|
74 |
-
Request and fetch data using a search keyword and return the results without analyse them.
|
75 |
Parameters :
|
76 |
- query (string) : the same input as the user input no more no less and always it must be in french if it isn't already. For example : "give me data about health" the input is health in french which is santé, same for other languages and the words translatted must be nouns not adjectives or verbs also the user may request data about an organization where you need to take just the main subject for example "Je veux les données de l'agence de développement digitale" you take just "développement".
|
77 |
Returns :
|
|
|
71 |
fetch_data = StructuredTool.from_function(
|
72 |
func=request_data,
|
73 |
description="""
|
74 |
+
Request and fetch data using a search keyword in french must be always converted in french for the website data.gov.ma and return the results without analyse them.
|
75 |
Parameters :
|
76 |
- query (string) : the same input as the user input no more no less and always it must be in french if it isn't already. For example : "give me data about health" the input is health in french which is santé, same for other languages and the words translatted must be nouns not adjectives or verbs also the user may request data about an organization where you need to take just the main subject for example "Je veux les données de l'agence de développement digitale" you take just "développement".
|
77 |
Returns :
|