mirror of
https://github.com/VinciGit00/Scrapegraph-ai.git
synced 2026-06-25 21:11:11 +08:00
19 lines
455 B
Python
19 lines
455 B
Python
"""
|
|
DeepSeek Module
|
|
"""
|
|
from langchain_openai import ChatOpenAI
|
|
|
|
|
|
class DeepSeek(ChatOpenAI):
|
|
"""
|
|
A wrapper for the ChatOpenAI class (DeepSeek uses an OpenAI-like API) 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)
|