59 lines
1.2 KiB
JSON
59 lines
1.2 KiB
JSON
{
|
|
"MSG": "hello",
|
|
"snapshot": {
|
|
"incoming": {
|
|
"method": "POST",
|
|
"url": "http://localhost/test",
|
|
"path": "/test",
|
|
"query": "",
|
|
"headers": {
|
|
"x": "X-HEADER"
|
|
},
|
|
"json": {}
|
|
},
|
|
"params": {
|
|
"temperature": 0.25
|
|
},
|
|
"model": "gpt-x",
|
|
"vendor_format": "openai",
|
|
"system": "",
|
|
"OUT": {
|
|
"n1": {
|
|
"vars": {
|
|
"MSG": "hello"
|
|
}
|
|
},
|
|
"n2": {
|
|
"result": {
|
|
"id": "ret_mock_123",
|
|
"object": "chat.completion",
|
|
"model": "gpt-x",
|
|
"choices": [
|
|
{
|
|
"index": 0,
|
|
"message": {
|
|
"role": "assistant",
|
|
"content": "hello"
|
|
},
|
|
"finish_reason": "stop"
|
|
}
|
|
],
|
|
"usage": {
|
|
"prompt_tokens": 0,
|
|
"completion_tokens": 1,
|
|
"total_tokens": 0
|
|
}
|
|
},
|
|
"response_text": "hello"
|
|
}
|
|
},
|
|
"OUT_TEXT": {
|
|
"n1": "hello",
|
|
"n2": "hello"
|
|
},
|
|
"LAST_NODE": "n2",
|
|
"OUT1": "hello",
|
|
"OUT2": "hello",
|
|
"EXEC_TRACE": "n1(SetVars) -> n2(Return)"
|
|
}
|
|
} |