Created
July 28, 2023 09:26
-
-
Save AlexanderHolmeset/d003cda9cccaa89b36f4f9d67adff56b 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
{ | |
"properties": { | |
"choices": { | |
"items": { | |
"properties": { | |
"content_filter_results": { | |
"properties": { | |
"hate": { | |
"properties": { | |
"filtered": { | |
"type": "boolean" | |
}, | |
"severity": { | |
"type": "string" | |
} | |
}, | |
"type": "object" | |
}, | |
"self_harm": { | |
"properties": { | |
"filtered": { | |
"type": "boolean" | |
}, | |
"severity": { | |
"type": "string" | |
} | |
}, | |
"type": "object" | |
}, | |
"sexual": { | |
"properties": { | |
"filtered": { | |
"type": "boolean" | |
}, | |
"severity": { | |
"type": "string" | |
} | |
}, | |
"type": "object" | |
}, | |
"violence": { | |
"properties": { | |
"filtered": { | |
"type": "boolean" | |
}, | |
"severity": { | |
"type": "string" | |
} | |
}, | |
"type": "object" | |
} | |
}, | |
"type": "object" | |
}, | |
"finish_reason": { | |
"type": "string" | |
}, | |
"index": { | |
"type": "integer" | |
}, | |
"message": { | |
"properties": { | |
"content": { | |
"type": "string" | |
}, | |
"role": { | |
"type": "string" | |
} | |
}, | |
"type": "object" | |
} | |
}, | |
"required": [ | |
"index", | |
"finish_reason", | |
"message", | |
"content_filter_results" | |
], | |
"type": "object" | |
}, | |
"type": "array" | |
}, | |
"created": { | |
"type": "integer" | |
}, | |
"id": { | |
"type": "string" | |
}, | |
"model": { | |
"type": "string" | |
}, | |
"object": { | |
"type": "string" | |
}, | |
"prompt_annotations": { | |
"items": { | |
"properties": { | |
"content_filter_results": { | |
"properties": { | |
"hate": { | |
"properties": { | |
"filtered": { | |
"type": "boolean" | |
}, | |
"severity": { | |
"type": "string" | |
} | |
}, | |
"type": "object" | |
}, | |
"self_harm": { | |
"properties": { | |
"filtered": { | |
"type": "boolean" | |
}, | |
"severity": { | |
"type": "string" | |
} | |
}, | |
"type": "object" | |
}, | |
"sexual": { | |
"properties": { | |
"filtered": { | |
"type": "boolean" | |
}, | |
"severity": { | |
"type": "string" | |
} | |
}, | |
"type": "object" | |
}, | |
"violence": { | |
"properties": { | |
"filtered": { | |
"type": "boolean" | |
}, | |
"severity": { | |
"type": "string" | |
} | |
}, | |
"type": "object" | |
} | |
}, | |
"type": "object" | |
}, | |
"prompt_index": { | |
"type": "integer" | |
} | |
}, | |
"required": [ | |
"prompt_index", | |
"content_filter_results" | |
], | |
"type": "object" | |
}, | |
"type": "array" | |
}, | |
"usage": { | |
"properties": { | |
"completion_tokens": { | |
"type": "integer" | |
}, | |
"prompt_tokens": { | |
"type": "integer" | |
}, | |
"total_tokens": { | |
"type": "integer" | |
} | |
}, | |
"type": "object" | |
} | |
}, | |
"type": "object" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment