Skip to content

Commit

Permalink
Fix blob doc (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
jba authored Feb 20, 2024
1 parent 8969423 commit 5b241fc
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion genai/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// limitations under the License.

// To get the protoveneer tool:
// go install golang.org/x/exp/protoveneer/cmd/protoveneer@latest
// go install cloud.google.com/go/internal/protoveneer/cmd/protoveneer@latest

//go:generate protoveneer -license license.txt config.yaml ../../../googleapis/google-cloud-go/ai/generativelanguage/apiv1/generativelanguagepb

Expand Down
1 change: 1 addition & 0 deletions genai/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ types:
MimeType:
name: MIMEType
docVerb: contains
removeOtherDoc: true

GenerationConfig:

Expand Down
2 changes: 0 additions & 2 deletions genai/generativelanguagepb_veneer.gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ func (BatchEmbedContentsResponse) fromProto(p *pb.BatchEmbedContentsResponse) *B
}

// Blob contains raw media bytes.
//
// Text should not be sent as raw bytes, use the 'text' field.
type Blob struct {
// The IANA standard MIME type of the source data.
// Accepted types include: "image/png", "image/jpeg", "image/heic",
Expand Down

0 comments on commit 5b241fc

Please sign in to comment.