Skip to content

Commit

Permalink
updated to work with newer Vertex AI APIs
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 685847928
Change-Id: I7f42f0dfe437931413c823964c8f5145bb0c98ed
  • Loading branch information
minsukchang authored and copybara-github committed Oct 14, 2024
1 parent 90619aa commit c561260
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion concordia/language_model/google_cloud_custom_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def sample_text(

try:
response = (
aiplatform.Client()
aiplatform.PredictionServiceClient()
.predict(
[{"content": prompt}],
parameters={
Expand Down

0 comments on commit c561260

Please sign in to comment.