Download apps/core/llm/__init__.py from jun2024/fc: direct link, hf CLI and curl.
- Browser
- Download file 390 Bytes
-
https://huggingface.co/spaces/jun2024/fc/resolve/main/apps/core/llm/__init__.py
- Command line
-
hf download hf://spaces/jun2024/fc/apps/core/llm/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/jun2024/fc/resolve/main/apps/core/llm/__init__.py
390 Bytes
| """LLM 抽象层模块""" | |
| from .config import LLMConfig | |
| from .exceptions import LLMAPIError, LLMAuthenticationError, LLMBackendUnavailableError, LLMTimeoutError | |
| from .service import LLMService, get_llm_service | |
| __all__ = [ | |
| "LLMConfig", | |
| "LLMService", | |
| "LLMBackendUnavailableError", | |
| "get_llm_service", | |
| "LLMAPIError", | |
| "LLMAuthenticationError", | |
| "LLMTimeoutError", | |
| ] | |