Created
September 26, 2024 09:57
-
-
Save AlexanderHolmeset/0ac789913997617128de5711b7903d97 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type": "object", | |
"properties": { | |
"statusCode": { | |
"type": "integer" | |
}, | |
"headers": { | |
"type": "object", | |
"properties": { | |
"request-id": { | |
"type": "string" | |
}, | |
"x-ms-region": { | |
"type": "string" | |
}, | |
"apim-request-id": { | |
"type": "string" | |
}, | |
"x-ratelimit-remaining-requests": { | |
"type": "string" | |
}, | |
"x-accel-buffering": { | |
"type": "string" | |
}, | |
"x-ms-rai-invoked": { | |
"type": "string" | |
}, | |
"X-Request-ID": { | |
"type": "string" | |
}, | |
"Strict-Transport-Security": { | |
"type": "string" | |
}, | |
"azureml-model-session": { | |
"type": "string" | |
}, | |
"X-Content-Type-Options": { | |
"type": "string" | |
}, | |
"x-envoy-upstream-service-time": { | |
"type": "string" | |
}, | |
"x-ms-client-request-id": { | |
"type": "string" | |
}, | |
"api-supported-versions": { | |
"type": "string" | |
}, | |
"x-ratelimit-remaining-tokens": { | |
"type": "string" | |
}, | |
"Date": { | |
"type": "string" | |
}, | |
"Content-Length": { | |
"type": "string" | |
}, | |
"Content-Type": { | |
"type": "string" | |
} | |
} | |
}, | |
"body": { | |
"type": "object", | |
"properties": { | |
"choices": { | |
"type": "array", | |
"items": { | |
"type": "object", | |
"properties": { | |
"content_filter_results": { | |
"type": "object", | |
"properties": { | |
"hate": { | |
"type": "object", | |
"properties": { | |
"filtered": { | |
"type": "boolean" | |
}, | |
"severity": { | |
"type": "string" | |
} | |
} | |
}, | |
"protected_material_code": { | |
"type": "object", | |
"properties": { | |
"filtered": { | |
"type": "boolean" | |
}, | |
"detected": { | |
"type": "boolean" | |
} | |
} | |
}, | |
"protected_material_text": { | |
"type": "object", | |
"properties": { | |
"filtered": { | |
"type": "boolean" | |
}, | |
"detected": { | |
"type": "boolean" | |
} | |
} | |
}, | |
"self_harm": { | |
"type": "object", | |
"properties": { | |
"filtered": { | |
"type": "boolean" | |
}, | |
"severity": { | |
"type": "string" | |
} | |
} | |
}, | |
"sexual": { | |
"type": "object", | |
"properties": { | |
"filtered": { | |
"type": "boolean" | |
}, | |
"severity": { | |
"type": "string" | |
} | |
} | |
}, | |
"violence": { | |
"type": "object", | |
"properties": { | |
"filtered": { | |
"type": "boolean" | |
}, | |
"severity": { | |
"type": "string" | |
} | |
} | |
} | |
} | |
}, | |
"finish_reason": { | |
"type": "string" | |
}, | |
"index": { | |
"type": "integer" | |
}, | |
"logprobs": { | |
"type": [ | |
"object", | |
"null" | |
] | |
}, | |
"message": { | |
"type": "object", | |
"properties": { | |
"content": { | |
"type": "string" | |
}, | |
"role": { | |
"type": "string" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"created": { | |
"type": "integer" | |
}, | |
"id": { | |
"type": "string" | |
}, | |
"model": { | |
"type": "string" | |
}, | |
"object": { | |
"type": "string" | |
}, | |
"prompt_filter_results": { | |
"type": "array", | |
"items": { | |
"type": "object", | |
"properties": { | |
"prompt_index": { | |
"type": "integer" | |
}, | |
"content_filter_result": { | |
"type": "object", | |
"properties": { | |
"jailbreak": { | |
"type": "object", | |
"properties": { | |
"filtered": { | |
"type": "boolean" | |
}, | |
"detected": { | |
"type": "boolean" | |
} | |
} | |
}, | |
"custom_blocklists": { | |
"type": "object", | |
"properties": { | |
"filtered": { | |
"type": "boolean" | |
}, | |
"details": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
} | |
} | |
}, | |
"sexual": { | |
"type": "object", | |
"properties": { | |
"filtered": { | |
"type": "boolean" | |
}, | |
"severity": { | |
"type": "string" | |
} | |
} | |
}, | |
"violence": { | |
"type": "object", | |
"properties": { | |
"filtered": { | |
"type": "boolean" | |
}, | |
"severity": { | |
"type": "string" | |
} | |
} | |
}, | |
"hate": { | |
"type": "object", | |
"properties": { | |
"filtered": { | |
"type": "boolean" | |
}, | |
"severity": { | |
"type": "string" | |
} | |
} | |
}, | |
"self_harm": { | |
"type": "object", | |
"properties": { | |
"filtered": { | |
"type": "boolean" | |
}, | |
"severity": { | |
"type": "string" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"system_fingerprint": { | |
"type": "string" | |
}, | |
"usage": { | |
"type": "object", | |
"properties": { | |
"completion_tokens": { | |
"type": "integer" | |
}, | |
"prompt_tokens": { | |
"type": "integer" | |
}, | |
"total_tokens": { | |
"type": "integer" | |
} | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment