-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UPDATE: add reasoning column and update some docs. #39
Conversation
#suppress "@azure-tools/typespec-azure-core/documentation-required" "MUST fix in next update" | ||
@added(ContentSafety.Versions.v2023_11_30_Preview) | ||
@doc("domain category.") | ||
@doc("Domain category.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest remove the "category" wording here even in description, this will cause a lot of confusion.
model UngroundedDetails { | ||
@doc("The ungrounded text.") | ||
text: string; | ||
|
||
@doc("The reason or explanation for identifying the text as ungrounded.") | ||
@doc("The explanation for identifying the text as ungrounded.") | ||
reason: string; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be optional?
@doc("A value indicating if the output includes an explanation for the identified ungroundedness.") | ||
reasoning?: boolean; | ||
|
||
@doc("Connection details for the GPT resource.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's better to have a detailed description here that this field will be only valid when reasoning set to true.
groundingSources: string[]; | ||
|
||
@doc("GPT resource connection information.") | ||
@doc("A value indicating if the output includes an explanation for the identified ungroundedness.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better to give default value here.
Choose a PR Template
Switch to "Preview" on this description then select one of the choices below.
Click here to open a PR for a Data Plane API.
Click here to open a PR for a Control Plane (ARM) API.