tferhan commited on
Commit
6350f37
·
verified ·
1 Parent(s): 796c300

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -28,13 +28,13 @@ def faq(query: str) -> str:
28
  qa_faq = StructuredTool.from_function(
29
  func = faq ,
30
  description="""
31
- Respond to general questions about the website like the documentation, contact, utility, support... Don't use it when the user request data about a subject (economie, justice, water, or any type of public dataset) only for contact or useful links data. .
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.
35
 
36
  Returns :
37
- - string : the output as returned from the function in the language of the input if it is in french respond in french, if it is in arabic respond in arabic ...
38
  """
39
  )
40
 
 
28
  qa_faq = StructuredTool.from_function(
29
  func = faq ,
30
  description="""
31
+ Respond to general questions about the website like the documentation, contact, utility, support... Don't use it when the user request data about a subject (economie, justice, water, or any type of public dataset) only for contact or useful links data. Used also for translating other languages in french.
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.
35
 
36
  Returns :
37
+ - string : the output as returned from the function in the language of the input if it is in french respond in french, if it is in arabic respond in arabic... just for general questions but for the translation the output must be in french .
38
  """
39
  )
40