23 lines
2.5 KiB
Plaintext
23 lines
2.5 KiB
Plaintext
2024-11-22 18:28:22.021 | INFO | agentscope.models:read_model_configs:186 - Load configs for model wrapper: openai_cfg
|
|
2024-11-22 18:28:32.654 | INFO | agentscope.models.model:__init__:201 - Initialize model by configuration [openai_cfg]
|
|
2024-11-22 18:28:32.671 | 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 18:28:32.672 | INFO | agentscope.utils.monitor:register_budget:609 - set budget None to gpt-4o-mini
|
|
2024-11-22 18:28:32.672 | WARNING | agentscope.utils.monitor:register_budget:639 - Calculate budgets for model [gpt-4o-mini] is not supported
|
|
2024-11-22 18:28:32.685 | INFO | agentscope.utils.monitor:register:417 - Register metric [gpt-4o-mini.call_counter] to SqliteMonitor with unit [times] and quota [None]
|
|
2024-11-22 18:28:32.708 | INFO | agentscope.utils.monitor:register:417 - Register metric [gpt-4o-mini.prompt_tokens] to SqliteMonitor with unit [token] and quota [None]
|
|
2024-11-22 18:28:32.732 | INFO | agentscope.utils.monitor:register:417 - Register metric [gpt-4o-mini.completion_tokens] to SqliteMonitor with unit [token] and quota [None]
|
|
2024-11-22 18:28:32.750 | 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 me. I need to keep the conversation focused on Chapter 1 about binary search.', 'speak': "Hello! Let's focus on learning about binary search. Do you have any questions about the topic?", 'function': '[]'}
|
|
assistant: ################################Speak#################################
|
|
assistant: {'thought': 'The student is greeting me. I need to keep the conversation focused on Chapter 1 about binary search.', 'speak': "Hello! Let's focus on learning about binary search. Do you have any questions about the topic?", 'function': '[]'}
|