Scrapegraph-ai/scrapegraphai/models/azure_openai.py
2024-05-01 23:33:42 +02:00

18 lines
441 B
Python

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