23 lines
2.5 KiB
Plaintext
23 lines
2.5 KiB
Plaintext
2024-11-22 16:58:14.249 | INFO | agentscope.models:read_model_configs:186 - Load configs for model wrapper: openai_cfg
|
|
2024-11-22 16:58:21.157 | INFO | agentscope.models.model:__init__:201 - Initialize model by configuration [openai_cfg]
|
|
2024-11-22 16:58:21.172 | 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-22 16:58:21.173 | INFO | agentscope.utils.monitor:register_budget:609 - set budget None to gpt-4o-mini
|
|
2024-11-22 16:58:21.173 | WARNING | agentscope.utils.monitor:register_budget:639 - Calculate budgets for model [gpt-4o-mini] is not supported
|
|
2024-11-22 16:58:21.186 | INFO | agentscope.utils.monitor:register:417 - Register metric [gpt-4o-mini.call_counter] to SqliteMonitor with unit [times] and quota [None]
|
|
2024-11-22 16:58:21.208 | INFO | agentscope.utils.monitor:register:417 - Register metric [gpt-4o-mini.prompt_tokens] to SqliteMonitor with unit [token] and quota [None]
|
|
2024-11-22 16:58:21.233 | INFO | agentscope.utils.monitor:register:417 - Register metric [gpt-4o-mini.completion_tokens] to SqliteMonitor with unit [token] and quota [None]
|
|
2024-11-22 16:58:21.257 | 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: hi
|
|
assistant: ############################Result Parsed#############################
|
|
assistant: {'thought': 'The student is greeting, indicating they might be ready to discuss the current chapter.', 'speak': "Hello! Let's focus on Chapter 1 about binary search. Do you have any questions about the guessing game scenario?", 'function': []}
|
|
assistant: ################################Speak#################################
|
|
assistant: {'thought': 'The student is greeting, indicating they might be ready to discuss the current chapter.', 'speak': "Hello! Let's focus on Chapter 1 about binary search. Do you have any questions about the guessing game scenario?", 'function': []}
|