24 lines
2.6 KiB
Plaintext
24 lines
2.6 KiB
Plaintext
2024-11-14 22:16:42.016 | INFO | agentscope.models:read_model_configs:186 - Load configs for model wrapper: openai_cfg
|
||
2024-11-14 22:16:49.610 | INFO | agentscope.models.model:__init__:201 - Initialize model by configuration [openai_cfg]
|
||
2024-11-14 22:16:49.626 | WARNING | agentscope.models.openai_model:__init__:83 - fail to get max_length for gpt-4o-mini: 'Model [gpt-4o-mini] not found in OPENAI_MAX_LENGTH. The last updated date is 20231212'
|
||
2024-11-14 22:16:49.626 | INFO | agentscope.utils.monitor:register_budget:609 - set budget None to gpt-4o-mini
|
||
2024-11-14 22:16:49.627 | WARNING | agentscope.utils.monitor:register_budget:639 - Calculate budgets for model [gpt-4o-mini] is not supported
|
||
2024-11-14 22:16:49.642 | INFO | agentscope.utils.monitor:register:417 - Register metric [gpt-4o-mini.call_counter] to SqliteMonitor with unit [times] and quota [None]
|
||
2024-11-14 22:16:49.666 | INFO | agentscope.utils.monitor:register:417 - Register metric [gpt-4o-mini.prompt_tokens] to SqliteMonitor with unit [token] and quota [None]
|
||
2024-11-14 22:16:49.695 | INFO | agentscope.utils.monitor:register:417 - Register metric [gpt-4o-mini.completion_tokens] to SqliteMonitor with unit [token] and quota [None]
|
||
2024-11-14 22:16:49.721 | INFO | agentscope.utils.monitor:register:417 - Register metric [gpt-4o-mini.total_tokens] to SqliteMonitor with unit [token] and quota [None]
|
||
assistant: ##################### ITER 1, STEP 1: REASONING ######################
|
||
system:
|
||
system: Respond a JSON dictionary in a markdown's fenced code block as follows:
|
||
```json
|
||
{"thought": "what you thought", "speak": "what you speak", "function": "[{\"name\": \"{function name}\", \"arguments\": {\"{argument1 name}\": xxx, \"{argument2 name}\": xxx}}]"}
|
||
```
|
||
####
|
||
assistant: ################################Prompt################################
|
||
assistant: 你好
|
||
|
||
assistant: ############################Result Parsed#############################
|
||
assistant: {'thought': 'The student is greeting, indicating they are ready to learn about binary search.', 'speak': '你好!今天我们将学习有关二分查找的基本概念。如果你有问题,可以随时问我。我们先来思考一下,1到4000之间的区间最差情况下需要猜测几次?', 'function': []}
|
||
assistant: ################################Speak#################################
|
||
assistant: {'thought': 'The student is greeting, indicating they are ready to learn about binary search.', 'speak': '你好!今天我们将学习有关二分查找的基本概念。如果你有问题,可以随时问我。我们先来思考一下,1到4000之间的区间最差情况下需要猜测几次?', 'function': []}
|