55 lines
1.1 KiB
JSON
55 lines
1.1 KiB
JSON
{
|
|
"MSG": "Hello",
|
|
"snapshot": {
|
|
"incoming": null,
|
|
"params": {
|
|
"temperature": 0.1
|
|
},
|
|
"model": "gpt-x",
|
|
"vendor_format": "openai",
|
|
"system": "",
|
|
"OUT": {
|
|
"n1": {
|
|
"vars": {
|
|
"MSG": "Hello"
|
|
}
|
|
},
|
|
"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": "ok"
|
|
},
|
|
"finish_reason": "stop"
|
|
}
|
|
],
|
|
"usage": {
|
|
"prompt_tokens": 0,
|
|
"completion_tokens": 1,
|
|
"total_tokens": 0
|
|
}
|
|
},
|
|
"response_text": "ok"
|
|
}
|
|
},
|
|
"OUT_TEXT": {
|
|
"n1": "Hello",
|
|
"nIf": "",
|
|
"nRet": "ok"
|
|
},
|
|
"LAST_NODE": "nRet",
|
|
"OUT1": "Hello",
|
|
"EXEC_TRACE": "n1(SetVars) -> If (#nIf) [[MSG]] contains 'Hello' => true -> nRet(Return)"
|
|
}
|
|
} |