Rename and update 'query_data' action to 'ask_codebase'

- Renamed 'query_data' action to 'ask_codebase' in the workflows.
- Updated the description of the action to "Ask question about codebase".
- Updated the action name in the handler to 'ask_codebase'.
This commit is contained in:
bobo.yang 2023-08-21 11:52:00 +08:00
parent b837365427
commit cea47a47a3
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{
"name": "query_data",
"description": "Search for content information related to the problem from the vector database",
"name": "ask_codebase",
"description": "Ask question about codebase.",
"type": ["question"],
"args": [{
"name": "question",
@ -8,6 +8,6 @@
"type": "string",
"from": "content.content.question"
}],
"action": "query_data",
"action": "ask_codebase",
"handler": ["${PythonVirtualEnv}", "${CurDir}/handler.py", "${question}"]
}