Skip to content

Commit

Permalink
missing json file
Browse files Browse the repository at this point in the history
  • Loading branch information
erickgonzalez committed Aug 22, 2024
1 parent 8120fa8 commit 797a261
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions dotcms-postman/src/test/resources/mappings/fifa-2018-winner.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"request": {
"method": "POST",
"url": "/c",
"headers": {
"Content-Type": {
"equalTo": "application/json"
},
"Authorization": {
"equalTo": "Bearer some-api-key-1a2bc3"
}
},
"bodyPatterns": [
{
"matches": ".*\"content\":\"Who won the FIFA World Cup in 2018.*"
}
]
},
"response": {
"status": 200,
"jsonBody": {
"id": "cmpl-2",
"object": "text_completion",
"created": 1699999999,
"model": "gpt-3.5-turbo-16k",
"choices": [
{
"text": "The FIFA World Cup in 2018 was won by the French national football team. They defeated Croatia 4-2 in the final match held in Moscow, Russia.",
"index": 0,
"logprobs": null,
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 9,
"completion_tokens": 30,
"total_tokens": 39
}
}
}
}

0 comments on commit 797a261

Please sign in to comment.