refactor: remove lru_cache decorator from create_vector_engine to remove runtime execution side-effects
This commit is contained in:
parent
b57e27b51e
commit
4c793319fe
1 changed files with 0 additions and 4 deletions
|
|
@ -1,10 +1,6 @@
|
||||||
from .supported_databases import supported_databases
|
from .supported_databases import supported_databases
|
||||||
from .embeddings import get_embedding_engine
|
from .embeddings import get_embedding_engine
|
||||||
|
|
||||||
from functools import lru_cache
|
|
||||||
|
|
||||||
|
|
||||||
@lru_cache
|
|
||||||
def create_vector_engine(
|
def create_vector_engine(
|
||||||
vector_db_provider: str,
|
vector_db_provider: str,
|
||||||
vector_db_url: str,
|
vector_db_url: str,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue