[ML-48691] Adding http_request to serving to call external-function#852
Closed
sunishsheth2009 wants to merge 1 commit intodatabricks:mainfrom
Closed
[ML-48691] Adding http_request to serving to call external-function#852sunishsheth2009 wants to merge 1 commit intodatabricks:mainfrom
sunishsheth2009 wants to merge 1 commit intodatabricks:mainfrom
Conversation
e733990 to
0721970
Compare
0721970 to
84828a6
Compare
84828a6 to
b1d4781
Compare
b1d4781 to
083c202
Compare
e74a947 to
8182936
Compare
178e119 to
cb7628b
Compare
Signed-off-by: Sunish Sheth <sunishsheth2009@gmail.com>
cb7628b to
fe1de1b
Compare
|
If integration tests don't run automatically, an authorized user can run them manually by following the instructions below: Trigger: Inputs:
Checks will be approved automatically on success. |
github-merge-queue bot
pushed a commit
that referenced
this pull request
Jan 14, 2025
## What changes are proposed in this pull request? This PR adds the `serving.http_request` function to call `/external-function`. The goal of this function is to make it easy for the AI agent authors to create tools that can make request to external services by invoking the /external-function API where the secrets are stored in UC Connections. This PR is based on PR #852. ## How is this tested? The mixin itself was not tested. Further testing will be conducted by the Model Serving team.
Contributor
Author
|
Code merged here: #857 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes are proposed in this pull request?
ML-48691 Adding http_request to serving to call /external-function
Why are these changes needed?
The changes are needed to make it easy for the AI agent authors to create tools that can make request to external services by invoking the /external-function API where the secrets are stored in UC Connections.
The Mixin is added so that it is easier for developers to just pass in json objects rather than stringified data similar to request.request api from python
How is this tested?