pre-commit

This commit is contained in:
Kai Wu 2025-02-25 13:42:02 -08:00
parent ed2bd60bd9
commit 733b9c07b5
2 changed files with 1 additions and 7 deletions

View file

@ -162,7 +162,7 @@ class SQLiteVecVectorIOAdapter(VectorIO, VectorDBsProtocolPrivate):
async def initialize(self) -> None:
# Open a connection to the SQLite database (the file is specified in the config).
self.connection = sqlite3.connect(self.config.db_path,check_same_thread=False)
self.connection = sqlite3.connect(self.config.db_path, check_same_thread=False)
self.connection.enable_load_extension(True)
sqlite_vec.load(self.connection)
self.connection.enable_load_extension(False)

View file

@ -87,12 +87,6 @@ models:
model_id: ${env.INFERENCE_MODEL}
provider_id: ollama
model_type: llm
- metadata:
embedding_dimension: 384
model_id: all-MiniLM-L6-v2
provider_id: ollama
provider_model_id: all-minilm:latest
model_type: embedding
shields: []
vector_dbs: []
datasets: []