Scrapegraph-ai/scrapegraphai/models/anthropic.py
2024-05-06 14:34:35 +03:00

18 lines
430 B
Python

"""
Anthropic Module
"""
from langchain_anthropic import ChatAnthropic
class Anthropic(ChatAnthropic):
"""
A wrapper for the ChatAnthropic 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)