mirror of
https://github.com/primedigitaltech/market-assistant.git
synced 2026-07-22 16:11:38 +08:00
MA_LLM_TEXT_PROVIDER=deepseek|deep_seek;.env.example 增加 ②-D;单测与 Kimi 同形。 Made-with: Cursor
23 lines
611 B
Python
23 lines
611 B
Python
"""文本大模型调用的协议、适配器与工厂(与具体提示词/业务生成逻辑解耦)。"""
|
|
|
|
from __future__ import annotations
|
|
|
|
from .adapters import (
|
|
CrawlerOpenAiCompatibleTextLlm,
|
|
DeepSeekTextLlm,
|
|
KimiMoonshotTextLlm,
|
|
OpenAiOfficialChatGptTextLlm,
|
|
)
|
|
from .factory import get_text_llm, reset_text_llm_client_for_tests
|
|
from .protocol import TextLlmClient
|
|
|
|
__all__ = [
|
|
"CrawlerOpenAiCompatibleTextLlm",
|
|
"DeepSeekTextLlm",
|
|
"KimiMoonshotTextLlm",
|
|
"OpenAiOfficialChatGptTextLlm",
|
|
"TextLlmClient",
|
|
"get_text_llm",
|
|
"reset_text_llm_client_for_tests",
|
|
]
|