Spaces:
Sleeping
Sleeping
Changed tool docstrings
Browse files
app.py
CHANGED
|
@@ -25,7 +25,7 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
|
|
| 25 |
@tool
|
| 26 |
def get_corporate_bullshit_text()-> str:
|
| 27 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
| 28 |
-
"""A tool that retrieves
|
| 29 |
Args:
|
| 30 |
None
|
| 31 |
"""
|
|
@@ -46,7 +46,7 @@ def get_corporate_bullshit_text()-> str:
|
|
| 46 |
@tool
|
| 47 |
def get_techy_phrases_text()-> str:
|
| 48 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
| 49 |
-
"""A tool that generates cool tech-savvy sounding phrases as text.
|
| 50 |
Args:
|
| 51 |
None
|
| 52 |
"""
|
|
@@ -89,7 +89,8 @@ final_answer = FinalAnswerTool()
|
|
| 89 |
model = HfApiModel(
|
| 90 |
max_tokens=2096,
|
| 91 |
temperature=0.5,
|
| 92 |
-
model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud',# it is possible that this model may be overloaded
|
|
|
|
| 93 |
custom_role_conversions=None,
|
| 94 |
)
|
| 95 |
|
|
|
|
| 25 |
@tool
|
| 26 |
def get_corporate_bullshit_text()-> str:
|
| 27 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
| 28 |
+
"""A tool that retrieves one sentence of "corporate bullshit" as text.
|
| 29 |
Args:
|
| 30 |
None
|
| 31 |
"""
|
|
|
|
| 46 |
@tool
|
| 47 |
def get_techy_phrases_text()-> str:
|
| 48 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
| 49 |
+
"""A tool that generates one sentence of cool tech-savvy sounding phrases as text.
|
| 50 |
Args:
|
| 51 |
None
|
| 52 |
"""
|
|
|
|
| 89 |
model = HfApiModel(
|
| 90 |
max_tokens=2096,
|
| 91 |
temperature=0.5,
|
| 92 |
+
model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud', # it is possible that this model may be overloaded
|
| 93 |
+
# model_id='Qwen/Qwen2.5-Coder-32B-Instruct', # it is possible that this model may be overloaded
|
| 94 |
custom_role_conversions=None,
|
| 95 |
)
|
| 96 |
|