Scrapegraph-ai/scrapegraphai/models/oneapi.py
2024-07-18 11:02:51 +02:00

18 lines
408 B
Python

"""
OneAPI Module
"""
from langchain_openai import ChatOpenAI
class OneApi(ChatOpenAI):
"""
A wrapper for the OneApi 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)