Add UCVolumeTool for reading files from UC Volumes#323
Closed
Conversation
jennsun
commented
Mar 16, 2026
…e resource because it's not a resource type for mlflow
jennsun
commented
Mar 17, 2026
| workspace_client: Optional[WorkspaceClient] = Field( | ||
| None, | ||
| description="Optional pre-configured WorkspaceClient for authentication.", | ||
| ) |
Contributor
Author
There was a problem hiding this comment.
note: unlike the vector search retriever tool which is a mlflow resource type
uc volumes are not and hence we will not add resource field here: https://www.mlflow.org/docs/latest/api_reference/_modules/mlflow/models/resources.html
Contributor
Author
|
After some discussion we decided the best path forward here would be to add code snippet examples to read from UCVolume in our unstructured data docs instead of creating a separate local UCVolumeTool - we may want to move towards suggesting KA for uc volume search/retrieval in the long run. Created a separate emu pr to update docs with examples |
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.
support reading file from volume given volume name/path
mirroring what we currently do with vector search retriever tool: https://docs.databricks.com/aws/en/generative-ai/agent-framework/unstructured-retrieval-tools
See this notebook testing this uc volume tool and creating agent that can call tool reading from uc volumes: https://eng-ml-agent-platform.staging.cloud.databricks.com/editor/notebooks/3245073120416479?o=2850744067564480
example code snippet
langchain
openai: