Replies: 1 comment 1 reply
-
|
You can use Service Accounts if you're running outside of GCP.
Create a Credentials object from the JSON Create a GenAI client Pass the client into the agent's model object |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, everyone!
I'm trying to use the Agno framework to generate embeddings with Google's Gemini models. However, I noticed that the framework requires an API Key for authentication. The problem is that I'm not using Google's API Key, as I'm authenticating via gcloud auth.
Given this, I have a few questions:
1 - Is there a way to configure Agno to use gcloud auth instead of an API Key for embeddings?
2 - Does the framework support authentication via Application Default Credentials (ADC) for embeddings? If so, how can I properly configure it?
3 - If Agno cannot be used without an API Key, is there an alternative library or method to generate Gemini embeddings using only gcloud auth?
4 - Has anyone successfully integrated Agno with Gemini embeddings without using an API Key? If so, could you share an example?
I appreciate any help!
Beta Was this translation helpful? Give feedback.
All reactions