Skip to content

Commit

Permalink
Add test data with more complex JSON object (#19)
Browse files Browse the repository at this point in the history
* add more complex test

* more complex object for future testing

---------

Co-authored-by: David Motsonashvili <[email protected]>
  • Loading branch information
davidmotson and David Motsonashvili authored Oct 1, 2024
1 parent 1d4d779 commit f2164d6
Showing 1 changed file with 48 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"candidates": [
{
"content": {
"parts": [
{
"functionCall": {
"name": "functionName",
"args": {
"original_title": "Longer String",
"current": true,
"testObject": {
"testProperty": "string property"
}
}
}
}
],
"role": "model"
},
"finishReason": "STOP",
"index": 0,
"safetyRatings": [
{
"category": "HARM_CATEGORY_HARASSMENT",
"probability": "NEGLIGIBLE"
},
{
"category": "HARM_CATEGORY_SEXUALLY_EXPLICIT",
"probability": "NEGLIGIBLE"
},
{
"category": "HARM_CATEGORY_DANGEROUS_CONTENT",
"probability": "NEGLIGIBLE"
},
{
"category": "HARM_CATEGORY_HATE_SPEECH",
"probability": "NEGLIGIBLE"
}
]
}
],
"usageMetadata": {
"promptTokenCount": 774,
"candidatesTokenCount": 4176,
"totalTokenCount": 4950
}
}

0 comments on commit f2164d6

Please sign in to comment.