-
Notifications
You must be signed in to change notification settings - Fork 342
Generate GetChatCompletionMessages with pagination #569
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
Generate GetChatCompletionMessages with pagination #569
Conversation
src/Generated/ChatClientGetChatCompletionMessagesAsyncCollectionResult.cs
Outdated
Show resolved
Hide resolved
| public ChatOutputAudio Audio { get; } | ||
| public string Content { get; } | ||
| public string Id { get; } | ||
| public string Refusal { get; } |
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.
Can be done in a separate PR: This class appears to be missing a few properties:
- content_parts
- function_call
- name
| public IReadOnlyList<ChatToolCall> ToolCalls { get; } | ||
|
|
||
| public IList<ChatMessageAnnotation> Annotations { get; } | ||
| public IReadOnlyList<ChatMessageAnnotation> Annotations { get; } |
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.
why is this readonly? messages are input models.
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 looks like a ChatMessage but it is not. It's a read-only representation of the chat messages corresponding to a stored chat completion. While they look very similar, they unfortunately have a few differences and hence we couldn't reuse the ChatMessage class. For now, we're introducing this class as experimental. I will share offline a few considerations that we have been discussing.
related #520