Spaces:
Build error
Build error
Download src/chattr/agent/database.py from AlphaSphereDotAI/Chattr: direct link, hf CLI and curl.
- Browser
- Download file 287 Bytes
-
https://huggingface.co/spaces/AlphaSphereDotAI/Chattr/resolve/main/src/chattr/agent/database.py
- Command line
-
hf download hf://spaces/AlphaSphereDotAI/Chattr/src/chattr/agent/database.py
-
curl -L -o database.py https://huggingface.co/spaces/AlphaSphereDotAI/Chattr/resolve/main/src/chattr/agent/database.py
287 Bytes
| """A module for Initializing the database for Chattr agent.""" | |
| from agno.db.json import JsonDb | |
| def setup_database() -> JsonDb: | |
| """ | |
| Initialize the database for Chattr agent. | |
| Returns: | |
| JsonDb: The database for Chattr agent. | |
| """ | |
| return JsonDb(db_path="agno") | |