-
I would like to propose adding support for Azure OpenAI and Google Vertex AI within this framework. These integrations would provide significant advantages by incorporating powerful language processing and machine learning capabilities. Leveraging these services could enhance the framework's performance, scalability, and flexibility for a wide range of applications. Is there a possibility for this integration to be considered in future updates? I strongly agree with the direction of this framework and have high expectations for its future. I will actively work on creating use cases to explore its full potential. |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 1 reply
-
We also desire the addition of this feature. |
Beta Was this translation helpful? Give feedback.
-
I just opened to these tickets, we'll work on prioritizing for the coming week 😊 |
Beta Was this translation helpful? Give feedback.
-
Do you need these inference provider in the framework only or in the rest of the stack as well (API/UI)? |
Beta Was this translation helpful? Give feedback.
-
Related PR: #164 |
Beta Was this translation helpful? Give feedback.
-
Temporary workaround with use of LangChain. import { BaseMessage } from "bee-agent-framework/llms/primitives/message";
import { LangChainChatLLM } from "bee-agent-framework/adapters/langchain/llms/chat";
// you need to install this package first @langchain/google-genai
import { ChatGoogleGenerativeAI } from "@langchain/google-genai";
console.info("===CHAT===");
const llm = new LangChainChatLLM(
new ChatGoogleGenerativeAI({
model: "gemini-pro",
maxOutputTokens: 2048,
})
);
const response = await llm.generate([
BaseMessage.of({
role: "user",
text: "Hello world!",
}),
]); For Azure use this instead
Related code: https://github.com/i-am-bee/bee-agent-framework/blob/main/examples/llms/providers/langchain.ts |
Beta Was this translation helpful? Give feedback.
-
@jwgo @int29 we just shipped a GCP Vertex AI Adaptor https://github.com/i-am-bee/bee-agent-framework/blob/main/examples/llms/providers/vertexai.ts Azure is coming soon! |
Beta Was this translation helpful? Give feedback.
-
Released in v0.0.47 |
Beta Was this translation helpful? Give feedback.
Released in v0.0.47