{
"ClassName": "OpenAI.OpenAICoreFunction",
"FunctionName": "OpenAI.Completions",
"FunctionParameters": {
"Parameters": {
"cUrl": "https://api.openai.com",
"cPath": "/v1/completions",
"OpenAIParameters": {
"model":"text-davinci-003",
"prompt": "Comparar os dados da folha de pagamento entre Janeiro e Fevereiro mostrando apenas as diferenças encontradas. { \"payroll_data\": { \"month\": \"Janeiro\", \"data\": { \"total_salaries\": 110000, \"total_taxes\": 33000, \"total_deductions\": 5500, \"net_payment\": 71450 }, { \"month\": \"Fevereiro\", \"total_salaries\": 110000, \"total_taxes\": 35000, \"total_deductions\": 5500, \"net_payment\": 71450 } } }",
"max_tokens": 100,
"n": 1,
"stop": "None",
"temperature": 0.5
}
}
}
}
{
"id": "cmpl-6vCHj4UVbnm8rsTiQLOhTncnNyrRL",
"object": "text_completion",
"created": 1679089939,
"model": "text-davinci-003",
"choices": [
{
"text": "\n\nDiferenças: \nTotal de impostos: Janeiro - 33000 / Fevereiro - 35000 \nLíquido a pagar: Janeiro - 71450 / Fevereiro - 71450",
"index": 0,
"logprobs": null,
"finish_reason": null
}
],
"usage": {
"prompt_tokens": 138,
"completion_tokens": 50,
"total_tokens": 188
}
}
Comentários
Postar um comentário