-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Introducing a new predefined completion endpoint (.gp-llm-v2-completion) #138420
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
Introducing a new predefined completion endpoint (.gp-llm-v2-completion) #138420
Conversation
| TaskType.COMPLETION, | ||
| ElasticInferenceService.NAME, | ||
| GP_LLM_V2_COMPLETION_SERVICE_SETTINGS, | ||
| ChunkingSettingsBuilder.DEFAULT_SETTINGS |
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 just realized we have a subtle bug here that I introduced initially. I tested and it doesn't seem to affect anything, thankfully. Could you try setting this to null?
There shouldn't be any chunking settings for completion or chat completion endpoints.
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.
If we could add a test that for these 3 endpoints that the model configuration should not have chunking settings that'd be great 🙏
| TaskType.CHAT_COMPLETION, | ||
| ElasticInferenceService.NAME, | ||
| GP_LLM_V2_COMPLETION_SERVICE_SETTINGS, | ||
| ChunkingSettingsBuilder.DEFAULT_SETTINGS |
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.
Would you be up for setting this one to null to fix the bug and keep things consistent?
| TaskType.CHAT_COMPLETION, | ||
| ElasticInferenceService.NAME, | ||
| COMPLETION_SERVICE_SETTINGS, | ||
| ChunkingSettingsBuilder.DEFAULT_SETTINGS |
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.
Would you be up for setting this one to null to fix the bug and keep things consistent?
|
Pinging @elastic/ml-core (Team:ML) |
|
@jonathan-buttner I will do these changes on Monday. |
❤️ thank you! |
This PR introduce a new predefined completion endpoint for the
.gp-llm-v2model