[Feature] OpenAI Function Calling (#1224)
This commit is contained in:
@@ -24,7 +24,7 @@ class VertexAILlm(BaseLlm):
|
||||
|
||||
@staticmethod
|
||||
def _get_answer(prompt: str, config: BaseLlmConfig) -> str:
|
||||
from langchain.chat_models import ChatVertexAI
|
||||
from langchain_community.chat_models import ChatVertexAI
|
||||
|
||||
chat = ChatVertexAI(temperature=config.temperature, model=config.model)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user