mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-10 04:08:31 +00:00
updating chunk approach
Signed-off-by: Francisco Javier Arceo <farceo@redhat.com>
This commit is contained in:
parent
4b34603995
commit
d777789958
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ class SQLiteVecIndex(EmbeddingIndex):
|
|||
logger.error(f"Error inserting into {self.vector_table}: {e}")
|
||||
|
||||
finally:
|
||||
cur.close() # Ensure cursor is closed
|
||||
cur.close()
|
||||
|
||||
async def query(self, embedding: NDArray, k: int, score_threshold: float) -> QueryChunksResponse:
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue