-
Notifications
You must be signed in to change notification settings - Fork 2.9k
feat(modelarmor): Added code samples for screening user prompt, model response and a PDF file #10065
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Warning Gemini encountered an error creating the summary. You can try again by commenting |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR has the same global issues as #10068 .
See internal discussion about content.
@telpirion Thanks for your review! All global issues have been resolved in this PR along with sensitive content replaced based on GoogleCloudPlatform/python-docs-samples#13305 I will include additional tests, along with a sample of the Advanced SDP template, in a separate PR. This will prevent the increased diff from making it difficult for review. |
Here is the summary of changes. You are about to add 4 region tags.
This comment is generated by snippet-bot.
|
Description
Created samples for user prompt and model response sanitation using model armor APIs.
Checklist
pom.xml
parent set to latestshared-configuration
mvn clean verify
requiredmvn -P lint checkstyle:check
requiredmvn -P lint clean compile pmd:cpd-check spotbugs:check
advisory only