Download app/core/__init__.py from JW55/SurfSense: direct link, hf CLI and curl.
- Browser
- Download file 627 Bytes
-
https://huggingface.co/spaces/JW55/SurfSense/resolve/main/app/core/__init__.py
- Command line
-
hf download hf://spaces/JW55/SurfSense/app/core/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/JW55/SurfSense/resolve/main/app/core/__init__.py
627 Bytes
| """ | |
| Core services and utilities for SurfSense. | |
| This module contains the foundational components: | |
| - LLM service for natural language understanding | |
| - Configuration management | |
| - Logging utilities | |
| - Tool registry for agent orchestration | |
| """ | |
| from app.core.llm_service import ( | |
| LLMService, | |
| OpenAILLMProvider, | |
| ) | |
| from app.core.logger import ( | |
| LoggerMixin, | |
| get_logger, | |
| log_api_request, | |
| log_api_response, | |
| setup_logging, | |
| ) | |
| __all__ = [ | |
| # Logging | |
| "get_logger", | |
| "setup_logging", | |
| "log_api_request", | |
| "log_api_response", | |
| "LoggerMixin", | |
| # LLM | |
| "LLMService", | |
| "OpenAILLMProvider", | |
| ] |