Is there plans to support Azure/Bedrock here?
Forgive me if i have missed something but it does not seem like we can use these vendors with adk-go. Is there plans to allow this?
it does not seem like we can use these vendors with adk-go
Could you share, why do you have these concerns?
This is a go library and you could use it in your apps irregardless of the vendor. Or are you talking about the deployment options we provide as part of adk-go functionality?
@dpasiukevich Well I should have clarified that the client from: github.com/openai/openai-go/v3/azure doesn't seem to be compatible with this library
For example here:
client := openai.NewClient(
azure.WithEndpoint(endpoint, apiVersion),
azure.WithAPIKey(apiKey),
)
agent, err := llmagent.New(llmagent.Config{
Name: "hello_time_agent",
Model: client,
Description: "Tells the current time in a specified city.",
Instruction: "You are a helpful assistant that tells the current time in a city.",
Tools: []tool.Tool{
geminitool.GoogleSearch{},
},
})
Gives me:
Cannot use client (type Client) as the type model.LLM Type does not implement model.LLM as some methods are missing: Name() string GenerateContent(ctx context.Context, req *LLMRequest, stream bool) iter.Seq2[*LLMResponse, error]
Im just looking for a way to use a model hosted on Azure here.
Thanks for clarification!
OpenAI model support is being worked on https://github.com/google/adk-go/pull/242 (it's pending review for now).