53 lines
1.2 KiB
JSON
53 lines
1.2 KiB
JSON
{
|
|
"MSG": "Hello world",
|
|
"snapshot": {
|
|
"incoming": null,
|
|
"params": {},
|
|
"model": "gpt-x",
|
|
"vendor_format": "openai",
|
|
"system": "",
|
|
"OUT": {
|
|
"n1": {
|
|
"vars": {
|
|
"MSG": "Hello world"
|
|
}
|
|
},
|
|
"nIf": {
|
|
"result": true,
|
|
"true": true,
|
|
"false": false
|
|
},
|
|
"nRet": {
|
|
"result": {
|
|
"id": "ret_mock_123",
|
|
"object": "chat.completion",
|
|
"model": "gpt-x",
|
|
"choices": [
|
|
{
|
|
"index": 0,
|
|
"message": {
|
|
"role": "assistant",
|
|
"content": "Hello world ok"
|
|
},
|
|
"finish_reason": "stop"
|
|
}
|
|
],
|
|
"usage": {
|
|
"prompt_tokens": 0,
|
|
"completion_tokens": 3,
|
|
"total_tokens": 0
|
|
}
|
|
},
|
|
"response_text": "Hello world ok"
|
|
}
|
|
},
|
|
"OUT_TEXT": {
|
|
"n1": "Hello world",
|
|
"nIf": "",
|
|
"nRet": "Hello world ok"
|
|
},
|
|
"LAST_NODE": "nRet",
|
|
"OUT1": "Hello world",
|
|
"EXEC_TRACE": "n1(SetVars) -> If (#nIf) [[MSG]] contains \"Hello\" => true -> nRet(Return)"
|
|
}
|
|
} |