mirror of
https://github.com/primedigitaltech/market-assistant.git
synced 2026-07-21 23:41:39 +08:00
新增 providers 包:协议、Crawler 网关适配器、output 去围栏、token 启发式与工厂;llm_client 与 keyword_suggest 走统一入口。未改各 generate_* 提示词。补充 MA_LLM_TEXT_PROVIDER 说明至 .env.example。 Made-with: Cursor
12 lines
344 B
Python
12 lines
344 B
Python
"""文本大模型调用的协议、适配器与工厂(与具体提示词/业务生成逻辑解耦)。"""
|
|
from __future__ import annotations
|
|
|
|
from .factory import get_text_llm, reset_text_llm_client_for_tests
|
|
from .protocol import TextLlmClient
|
|
|
|
__all__ = [
|
|
"TextLlmClient",
|
|
"get_text_llm",
|
|
"reset_text_llm_client_for_tests",
|
|
]
|