GoogleCloudPlatform / GoogleCloudPlatform/generative-ai

[Bug]: Prompt Optmizer using invalid model

Open
#2,076 7 comments 0 reactions 2 assignees Claimed by @inardini View on GitHub
Dominant language
Jupyter Notebook
Stars
17.7k
Forks
4.5k
Avg merge
12h 38m
Merged PRs (30d)
42

Description

### 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

```shell
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

- [x] I agree to follow this project's Code of Conduct

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.