cognee/cognee/infrastructure/databases/vector/get_vector_engine.py
Igor Ilic 1ed6cfd918
feat: new Dataset permissions (#869)
<!-- .github/pull_request_template.md -->

## Description
<!-- Provide a clear description of the changes in this PR -->

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.

---------

Co-authored-by: Boris Arzentar <borisarzentar@gmail.com>
Co-authored-by: Boris <boris@topoteretes.com>
2025-06-06 14:20:57 +02:00

7 lines
272 B
Python

from .config import get_vectordb_context_config
from .create_vector_engine import create_vector_engine
def get_vector_engine():
# Get appropriate vector db configuration based on current async context
return create_vector_engine(**get_vectordb_context_config())