Scrapegraph-ai/scrapegraphai/models/vertex.py
2024-07-01 12:21:47 +02:00

17 lines
430 B
Python

"""
VertexAI Module
"""
from langchain_google_vertexai import ChatVertexAI
class VertexAI(ChatVertexAI):
"""
A wrapper for the ChatVertexAI class that provides default configuration
and could be extended with additional methods if needed.
Args:
llm_config (dict): Configuration parameters for the language model.
"""
def __init__(self, llm_config: dict):
super().__init__(**llm_config)