Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /topoteretes_cognee /cognee /modules /engine /operations /setup.py
| from cognee.infrastructure.databases.relational import ( | |
| create_db_and_tables as create_relational_db_and_tables, | |
| ) | |
| from cognee.infrastructure.databases.vector.pgvector import ( | |
| create_db_and_tables as create_pgvector_db_and_tables, | |
| ) | |
| async def setup(): | |
| """ | |
| Set up the necessary databases and tables. | |
| This function asynchronously creates a relational database and its corresponding tables, | |
| followed by creating a PGVector database and its tables. | |
| """ | |
| await create_relational_db_and_tables() | |
| await create_pgvector_db_and_tables() | |
| if __name__ == "__main__": | |
| import asyncio | |
| asyncio.run(setup()) | |
Xet Storage Details
- Size:
- 642 Bytes
- Xet hash:
- a5cba96f10b9dc1211249362f8c88749c1caa9b981b9891e7d2910daf297ba9b
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.