54 lines
1.3 KiB
JSON
54 lines
1.3 KiB
JSON
{
|
|
"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": {
|
|
"result": {
|
|
"echo": {
|
|
"url": "https://api.openai.com/v1/chat/completions",
|
|
"headers": {
|
|
"Content-Type": "application/json",
|
|
"Authorization": "Bearer TEST"
|
|
},
|
|
"payload": {
|
|
"model": "gpt-x",
|
|
"messages": [
|
|
{
|
|
"role": "system",
|
|
"content": "You are test"
|
|
},
|
|
{
|
|
"role": "user",
|
|
"content": "Say Привет"
|
|
}
|
|
],
|
|
"temperature": 0.25
|
|
}
|
|
}
|
|
},
|
|
"response_text": "https://api.openai.com/v1/chat/completions"
|
|
}
|
|
},
|
|
"OUT_TEXT": {
|
|
"n1": "https://api.openai.com/v1/chat/completions"
|
|
},
|
|
"LAST_NODE": "n1",
|
|
"OUT1": "https://api.openai.com/v1/chat/completions",
|
|
"EXEC_TRACE": "n1(ProviderCall)"
|
|
}
|
|
} |