安装插件调用的接口:
2024-09-26 15:45:44.342 INFO [Thread-89 (process_request_thread)] [_internal.py:97] - 127.0.0.1 - - [26/Sep/2024 15:45:44] "OPTIONS /console/api/workspaces/current/tool-provider/builtin/azuredalle/update HTTP/1.1" 200 -
2024-09-26 15:45:53.184 INFO [Thread-88 (process_request_thread)] [_internal.py:97] - 127.0.0.1 - - [26/Sep/2024 15:45:53] "GET /console/api/workspaces/current/models/model-types/llm HTTP/1.1" 200 -
2024-09-26 15:45:54.626 INFO [Thread-86 (process_request_thread)] [_internal.py:97] - 127.0.0.1 - - [26/Sep/2024 15:45:54] "GET /console/api/workspaces/current/model-providers HTTP/1.1" 200 -
2024-09-26 15:45:55.998 INFO [Thread-87 (process_request_thread)] [_internal.py:97] - 127.0.0.1 - - [26/Sep/2024 15:45:55] "GET /console/api/workspaces/current/model-providers HTTP/1.1" 200 -
2024-09-26 15:45:57.395 INFO [Thread-91 (process_request_thread)] [_client.py:1013] - HTTP Request: POST https://azure-dalle.openai.azure.com//openai/deployments/dall-e-3/images/generations?api-version=2024-02-01 "HTTP/1.1 200 OK"
2024-09-26 15:46:03.648 INFO [Thread-90 (process_request_thread)] [_internal.py:97] - 127.0.0.1 - - [26/Sep/2024 15:46:03] "OPTIONS /console/api/workspaces/current/model-providers HTTP/1.1" 200 -
在应用中添加工具
2024-09-26 15:49:31.279 INFO [Thread-148 (process_request_thread)] [_internal.py:97] - 127.0.0.1 - - [26/Sep/2024 15:49:31] "GET /console/api/workspaces/current/tools?type=builtin HTTP/1.1" 200 -
2024-09-26 15:49:31.429 INFO [Thread-149 (process_request_thread)] [_internal.py:97] - 127.0.0.1 - - [26/Sep/2024 15:49:31] "GET /console/api/workspaces/current/tool-provider/builtin/duckduckgo/icon HTTP/1.1" 200 -
2024-09-26 15:49:31.438 INFO [Thread-150 (process_request_thread)] [_internal.py:97] - 127.0.0.1 - - [26/Sep/2024 15:49:31] "GET /console/api/workspaces/current/tool-provider/builtin/bing/icon HTTP/1.1" 200 -
2024-09-26 15:49:31.449 INFO [Thread-151 (process_request_thread)] [_internal.py:97] - 127.0.0.1 - - [26/Sep/2024 15:49:31] "GET /console/api/workspaces/current/tool-provider/builtin/azuredalle/icon HTTP/1.1" 200 -
2024-09-26 15:49:31.458 INFO [Thread-152 (process_request_thread)] [_internal.py:97] - 127.0.0.1 - - [26/Sep/2024 15:49:31] "GET /console/api/workspaces/current/tool-provider/builtin/dalle/icon HTTP/1.1" 200 -
调用azuredalle:
返回一个二进制类型的图像