generative-ai
generative-ai copied to clipboard
feat: Long prompt optimization with vapo
Description
This notebook demonstrates how to leverage Vertex AI prompt optimizer to optimize a long prompt for a Gemini model. The goal is to use Vertex AI prompt optimizer to find a new long prompt template that generates better responses.
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
- [x] Follow the
CONTRIBUTING
Guide. - [x] You are listed as the author in your notebook or README file.
- [x] Your account is listed in
CODEOWNERS
for the file(s).
- [x] Your account is listed in
- [x] Make your Pull Request title in the https://www.conventionalcommits.org/ specification.
- [x] Ensure the tests and linter pass (Run
nox -s format
from the repository root to format). - [x] Appropriate docs were updated (if necessary)