-
Notifications
You must be signed in to change notification settings - Fork 2k
feat(generative-ai): Add PDF sample for Gemini 1.5 #3665
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
Conversation
Here is the summary of changes. You are about to add 1 region tag.
This comment is generated by snippet-bot.
|
I wonder if |
|
||
describe('Analyze PDF document', async () => { | ||
it('should analyze PDF document', async () => { | ||
const output = execSync(`node ./gemini-pdf.js ${projectId}`); |
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.
It doesn't look like the function returns anything, so this test would fail. Unless the output
for this testing structure is just the console.log()
output?
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.
It's a good point. I reran the test and confirmed that the test was able to validate the std output of the sample. I think we should be Ok.
Co-authored-by: Holt Skinner <[email protected]>
Description
Fixes b/330500909
Add PDF code sample for Gemini 1.5 Pro.