Spaces:
Running
Running
Download database/__init__.py from ashmib/trace-crs-chatbot: direct link, hf CLI and curl.
- Browser
- Download file 676 Bytes
-
https://huggingface.co/spaces/ashmib/trace-crs-chatbot/resolve/main/database/__init__.py
- Command line
-
hf download hf://spaces/ashmib/trace-crs-chatbot/database/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/ashmib/trace-crs-chatbot/resolve/main/database/__init__.py
676 Bytes
| """ | |
| Database package for CRS Chatbot. | |
| Uses Firestore when credentials are configured; falls back to in-memory stores otherwise. | |
| """ | |
| from .session_store import SessionStore | |
| from .firestore_store import FirestoreSessionStore | |
| from .conversation_store import ConversationStore | |
| from .memory_store import MemorySessionStore, MemoryConversationStore | |
| from .hf_store import HFConversationStore | |
| from .config import get_session_store, get_conversation_store | |
| __all__ = [ | |
| "SessionStore", | |
| "FirestoreSessionStore", | |
| "ConversationStore", | |
| "MemorySessionStore", | |
| "MemoryConversationStore", | |
| "HFConversationStore", | |
| "get_session_store", | |
| "get_conversation_store", | |
| ] | |