Skip to content

Commit

Permalink
first-pass adding annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
brandom-msft committed Jun 30, 2023
1 parent 6107f25 commit 83c2bb8
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,14 @@ model ChatCompletionsOptions {
@projectedName("json", "max_tokens")
maxTokens?: int32;

@doc("""
Information about the content filtering category (hate, sexual, violence, self_harm), if it
has been detected, as well as the severity level (very_low, low, medium, high-scale that
determines the intensity and risk level of harmful content) and if it has been filtered or not.
""")
@projectedName("json","contentFilterResults")
annotation?: string;

@doc("""
The sampling temperature to use that controls the apparent creativity of generated completions.
Higher values will make output more random while lower values will make results more focused
Expand Down

0 comments on commit 83c2bb8

Please sign in to comment.