Spaces:
Runtime error
Runtime error
Commit
·
fbf6894
1
Parent(s):
62a3bc8
update prompt
Browse files
app.py
CHANGED
@@ -603,7 +603,7 @@ class DB_Search(BaseTool):
|
|
603 |
|
604 |
class DB_Search2(BaseTool):
|
605 |
name = "Vector Database Search"
|
606 |
-
description = "This is the internal vector database to search information firstly.
|
607 |
def _run(self, query: str) -> str:
|
608 |
response, source = QAQuery_p(query)
|
609 |
# response = "test db_search feedback"
|
@@ -778,7 +778,7 @@ python_tool2 = Tool(
|
|
778 |
python_tool3 = Tool(
|
779 |
name = "Code Runner",
|
780 |
func = Code_Runner,
|
781 |
-
description = """Code Interpreter which is able to run code block in local machine.\n It is capable to treat any task by running the code and output the result. (i.e. analyzer data, modify/creat documents ...)\n You should input detail python script code."""
|
782 |
)
|
783 |
|
784 |
|
|
|
603 |
|
604 |
class DB_Search2(BaseTool):
|
605 |
name = "Vector Database Search"
|
606 |
+
description = "This is the internal vector database to search information firstly (i.e. engineering data, acronym.)"
|
607 |
def _run(self, query: str) -> str:
|
608 |
response, source = QAQuery_p(query)
|
609 |
# response = "test db_search feedback"
|
|
|
778 |
python_tool3 = Tool(
|
779 |
name = "Code Runner",
|
780 |
func = Code_Runner,
|
781 |
+
description = """Code Interpreter which is able to run code block in local machine.\n It is capable to treat **any** task by running the code and output the result. (i.e. analyzer data, modify/creat documents ...)\n You should input detail python script code with right indentation."""
|
782 |
)
|
783 |
|
784 |
|