Skip to content

[Bug]: Prompt Optmizer using invalid model #2076

Open
@YgorCastor

Description

@YgorCastor

File Name

https://github.com/GoogleCloudPlatform/generative-ai/blob/main/gemini/prompts/prompt_optimizer/vertex_ai_prompt_optimizer_ui.ipynb

What happened?

Looks like somewhere in the code is trying to use gemini 1.5 pro and referencing it through an invalid url.

Relevant log output

Detailed error: Error: The job failed: 404 Publisher Model `projects/XXXXX/locations/us-central1/publishers/google/models/gemini-1.5-pro-002` was not found or your project does not have access to it.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions