tferhan commited on
Commit
e31f65c
·
verified ·
1 Parent(s): 2b9b9f9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -10
app.py CHANGED
@@ -78,18 +78,9 @@ fetch_data = StructuredTool.from_function(
78
  description="""
79
  Request and fetch data using a search keyword.
80
  Parameters :
81
- - 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.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".
82
  Returns :
83
  - string : the output as returned from the function in french , includes the link to all the data about the keyword along with an example.
84
- Examples:
85
- >>> Give me data about water
86
- >>> input : eau
87
- >>> Give me data about ADD
88
- >>> input : ADD
89
- >>> Je veux les données culturelles
90
- >>> input : culture
91
- >>> Je veux les données de justice
92
- >>> input : justice
93
  """,
94
  return_direct = True,
95
  )
 
78
  description="""
79
  Request and fetch data using a search keyword.
80
  Parameters :
81
+ - 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 if the user inputed "I want data about water" you need to input water in french which is "eau" 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".
82
  Returns :
83
  - string : the output as returned from the function in french , includes the link to all the data about the keyword along with an example.
 
 
 
 
 
 
 
 
 
84
  """,
85
  return_direct = True,
86
  )