mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-06 03:20:41 +00:00
feat(model): Support database model registry (#1656)
This commit is contained in:
@@ -31,8 +31,8 @@
|
||||
"nest_asyncio.apply()\n",
|
||||
"test_plugin_dir = os.path.join(ROOT_PATH, \"examples/test_files/plugins\")"
|
||||
],
|
||||
"outputs": [],
|
||||
"execution_count": 11
|
||||
"execution_count": 11,
|
||||
"outputs": []
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
@@ -99,73 +99,16 @@
|
||||
" # message=\"查询今天的最新热点财经新闻\",\n",
|
||||
")"
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\n",
|
||||
"--------------------------------------------------------------------------------\n",
|
||||
"\u001B[33mWrappedAWELLayoutManager\u001B[0m (to LuBan)-[]:\n",
|
||||
"\n",
|
||||
"\"查询成都今天天气\"\n",
|
||||
"\n",
|
||||
"--------------------------------------------------------------------------------\n",
|
||||
"un_stream ai response: {\n",
|
||||
" \"tool_name\": \"baidu_search\",\n",
|
||||
" \"args\": {\n",
|
||||
" \"query\": \"成都今天天气\"\n",
|
||||
" },\n",
|
||||
" \"thought\": \"I have selected the 'baidu_search' tool with the query parameter set to '成都今天天气' to search for the weather in Chengdu today.\"\n",
|
||||
"}\n",
|
||||
"{'query': '成都今天天气'}\n",
|
||||
"\n",
|
||||
"--------------------------------------------------------------------------------\n",
|
||||
"\u001B[33mLuBan\u001B[0m (to Aristotle)-[gpt-3.5-turbo]:\n",
|
||||
"\n",
|
||||
"\"{\\n \\\"tool_name\\\": \\\"baidu_search\\\",\\n \\\"args\\\": {\\n \\\"query\\\": \\\"成都今天天气\\\"\\n },\\n \\\"thought\\\": \\\"I have selected the 'baidu_search' tool with the query parameter set to '成都今天天气' to search for the weather in Chengdu today.\\\"\\n}\"\n",
|
||||
"\u001B[32m>>>>>>>>LuBan Review info: \n",
|
||||
"Pass(None)\u001B[0m\n",
|
||||
"\u001B[34m>>>>>>>>LuBan Action report: \n",
|
||||
"execution succeeded,\n",
|
||||
"### [...天气预报一周_成都天气预报7天、15天、40天天查询_中国...](http://www.baidu.com/link?url=nSNTTnrxEUFL7oMRAYqg98BfeXkWtwHUaYN7WrTjaxBpSy0blKc4jIZ9m34mP97fFARfXJStjbRoBN6U0s0BDq) \n",
|
||||
" \n",
|
||||
"### [成都天气_成都天气预报一周_成都天气预报15天](http://www.baidu.com/link?url=Fmp4cnf8Cqqd8N06PpAe3Mn6Esp5q39Scfsnfr7ALxqB5XfoWu9-wY5UjS4n-95Y) \n",
|
||||
" \n",
|
||||
"### [【成都天气】成都天气预报,蓝天,蓝天预报,雾霾,雾霾消散,...](http://www.baidu.com/link?url=BQF3cexr1Z6hqkdOjRO2pq8YnOuruBV8nBFY0LE7FJJl8_TCcO806skK-aWkmC8UAZ23K-v3SvoXO58Ayze7Da) \n",
|
||||
" \n",
|
||||
"### [...天气预报一周_成都天气预报7天、15天、40天天查询_中国...](http://www.baidu.com/link?url=rt26_NNSBBWHLr0rAX2RPUbBhVjfr4m3Cd21RG7MOe4gsirRquQyp5fMLbSfeU1iC2b1ZhNVjUzlex39iYN_wq) \n",
|
||||
" \n",
|
||||
"### [【成都天气预报15天_成都天气预报15天查询】-中国天气网](http://www.baidu.com/link?url=vnZ3GlUxqllZ7Lenc94cImrur2AixgD6dkSOxfNc63PTewisg-RXg3sKzLpBEuPgCWXLr9VnR9gsSZetfPA_94HdTG0It_uAvZpLdUiGmY_) \n",
|
||||
" \n",
|
||||
"\u001B[0m\n",
|
||||
"\n",
|
||||
"--------------------------------------------------------------------------------\n",
|
||||
"un_stream ai response: Did not find the information you want.\n",
|
||||
"\n",
|
||||
"--------------------------------------------------------------------------------\n",
|
||||
"\u001B[33mWrappedAWELLayoutManager\u001B[0m (to User)-[]:\n",
|
||||
"\n",
|
||||
"\"查询成都今天天气\"\n",
|
||||
"\u001B[32m>>>>>>>>WrappedAWELLayoutManager Review info: \n",
|
||||
"Pass(None)\u001B[0m\n",
|
||||
"\u001B[34m>>>>>>>>WrappedAWELLayoutManager Action report: \n",
|
||||
"execution succeeded,\n",
|
||||
"Did not find the information you want.\u001B[0m\n",
|
||||
"\n",
|
||||
"--------------------------------------------------------------------------------\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"execution_count": 12
|
||||
"execution_count": 12,
|
||||
"outputs": []
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "7ded4107",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": []
|
||||
"source": [],
|
||||
"outputs": []
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
|
Reference in New Issue
Block a user