tferhan commited on
Commit
e2fe7bb
·
verified ·
1 Parent(s): a9ecfcc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -28,7 +28,7 @@ def faq(query: str) -> str:
28
  qa_faq = StructuredTool.from_function(
29
  func = faq ,
30
  description="""
31
- Repondre à des questions general .
32
 
33
  Parameters :
34
  - query (string) : the same input as the user input no more no less and dont translate it even if it is in another language.
@@ -53,7 +53,7 @@ def request_data(query: str) -> str:
53
  fetch_data = StructuredTool.from_function(
54
  func=request_data,
55
  description="""
56
- Rechercher des données.
57
 
58
  Parameters :
59
  - query (string) : the same input as the user input no more no less and always must translate it in french if it isn't already. For example : "give me data about economy" the input is economy but need to be translated first in french and the inputed same for other languages.
 
28
  qa_faq = StructuredTool.from_function(
29
  func = faq ,
30
  description="""
31
+ Respond to general and FAQ questions about the website .
32
 
33
  Parameters :
34
  - query (string) : the same input as the user input no more no less and dont translate it even if it is in another language.
 
53
  fetch_data = StructuredTool.from_function(
54
  func=request_data,
55
  description="""
56
+ Request and fetch data using a search keyword.
57
 
58
  Parameters :
59
  - query (string) : the same input as the user input no more no less and always must translate it in french if it isn't already. For example : "give me data about economy" the input is economy but need to be translated first in french and the inputed same for other languages.