adk-samples icon indicating copy to clipboard operation
adk-samples copied to clipboard

refactor: migrate from vertexai.preview to vertexai

Open cnaples79 opened this issue 3 months ago • 0 comments

Summary

Migrates RAG-related code from using the preview API to the stable API.

Changes Made

Updated import statements in RAG agent files.

Rationale

The Vertex AI RAG API has moved from preview to stable. Using the stable import ensures:

  • Better API stability and support
  • Alignment with current Vertex AI best practices
  • Future compatibility as preview APIs may be deprecated

Testing

  • Verified import statements are syntactically correct
  • No functional changes to the code logic

Fixes #395

cnaples79 avatar Oct 15 '25 21:10 cnaples79