Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Disable ADC and Pass bearer token in headers for search gRCP call

Hi,

How do I disable ADC, not look at  application_default_credentials file and pass bearer token in headers for gRCP call to search/answer endpoints? The sample code in the below URL doesn't specify that.

https://cloud.google.com/generative-ai-app-builder/docs/preview-search-results

Thanks,

Ravi

0 1 212
1 REPLY 1