Skip to content

Conversation

@falonso81
Copy link
Contributor

Add support to vertexai plugin

Checklist (if applicable):

@falonso81 falonso81 requested a review from apascal07 November 27, 2024 23:46
Copy link
Collaborator

@apascal07 apascal07 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add tests and/or a sample that uses this? I see there are many more parameters in JS like watermark, aspect ratio, etc. How come these were omitted?

input *ai.ModelRequest,
cb func(context.Context, *ai.ModelResponseChunk) error,
) (*ai.ModelResponse, error) {
if strings.HasPrefix(name, "imagen") {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This code block is auto-generated/copied from googleai.go so it's going to get overwritten. Can you figure out a way around it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just put outside of the code copied

@falonso81 falonso81 linked an issue Dec 13, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants