tferhan commited on
Commit
dc88205
·
verified ·
1 Parent(s): 8ee5e35

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -115,10 +115,10 @@ def translate(query: str) -> str:
115
  translate_text = StructuredTool.from_function(
116
  func=translate,
117
  description= """
118
- Translate from any language to french. Don't use it if the text is already in french
119
 
120
  Parameters :
121
- - query (string) : the same input as the user input no more no less.
122
  Returns :
123
  - string : isolate just the translated text in french with no other useless words.
124
  """,
 
115
  translate_text = StructuredTool.from_function(
116
  func=translate,
117
  description= """
118
+ Translate from any language to french. Don't use it if the text is already in french. Use it only with the function request_data don't use it with the other tools
119
 
120
  Parameters :
121
+ - query (string) : the same input as the user input no more no less only if it isnt in french already.
122
  Returns :
123
  - string : isolate just the translated text in french with no other useless words.
124
  """,