Files
SillyTavern_replica/backend/utils/__init__.py

18 lines
448 B
Python
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
"""
工具类包
提供通用的工具函数和辅助类如文件操作、LLM 调用封装等。
"""
from .file_utils import get_all_roles_and_chats, read_jsonl_file, write_jsonl_file
from .llm_client import get_llm, get_fast_llm, get_creative_llm, get_streaming_llm
__all__ = [
'get_all_roles_and_chats',
'read_jsonl_file',
'write_jsonl_file',
'get_llm',
'get_fast_llm',
'get_creative_llm',
'get_streaming_llm',
]