-
Notifications
You must be signed in to change notification settings - Fork 25k
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 model to return correct model for CHAT_COMPLETION task type #120326
Conversation
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.
Thanks for catching this!
Pinging @elastic/ml-core (Team:ML) |
Hi @jaybcee, I've created a changelog YAML for you. |
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.
Nice catch! 🎣
/** | ||
* This class uses the unified chat completion method. | ||
*/ | ||
public class SimpleChatCompletionServiceIntegrationValidator implements ServiceIntegrationValidator { |
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.
Should we've a test class SimpleChatCompletionServiceIntegrationValidatorTests
for this?
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.
Good idea, let me take care of that 👍
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.
Thanks for adding the tests! LGTM
💚 Backport successful
|
…120326) (#120404) * Update model to return correct model for CHAT_COMPLETION task type * Update docs/changelog/120326.yaml * Delete docs/changelog/120326.yaml * Fixing chat completion functionality * Fixing tests * naming * Fixing tests * Adding more tests --------- Co-authored-by: Jonathan Buttner <[email protected]> Co-authored-by: Jonathan Buttner <[email protected]>
Description
CHAT_COMPLETION was introduced as a new task type, but the corresponding model for the task type was not changed. Changing it.
It's a bug, but it's not released yet and is a recent change.
Relates to: https://github.com/elastic/search-team/issues/8457