mirror of
https://github.com/StanGirard/quivr.git
synced 2024-12-12 00:24:05 +03:00
8172704b61
* feat: add brain library button * feat(Field): add inputClassName key * feat: add GET brains/public route * feat: add brains library layout * feat: add brain subscriber count
9 lines
260 B
Python
9 lines
260 B
Python
from models import BrainEntity, get_supabase_db
|
|
from models.databases.supabase.brains import CreateBrainProperties
|
|
|
|
|
|
def create_brain(brain: CreateBrainProperties) -> BrainEntity:
|
|
supabase_db = get_supabase_db()
|
|
|
|
return supabase_db.create_brain(brain)
|