mirror of
https://github.com/StanGirard/quivr.git
synced 2024-12-04 23:45:22 +03:00
3c0819de09
Issue: https://github.com/StanGirard/quivr/issues/1362 Demo: https://github.com/StanGirard/quivr/assets/63923024/aa5e41f8-a738-41f2-b037-975788ad8611
15 lines
363 B
Python
15 lines
363 B
Python
from uuid import UUID
|
|
|
|
from logger import get_logger
|
|
from models.settings import get_supabase_db
|
|
|
|
logger = get_logger(__name__)
|
|
|
|
|
|
def remove_brain_all_knowledge(brain_id: UUID) -> None:
|
|
supabase_db = get_supabase_db()
|
|
|
|
supabase_db.remove_brain_all_knowledge(brain_id)
|
|
|
|
logger.info(f"All knowledge in brain {brain_id} removed successfully from table")
|