Shorten log message for cosine similarity threshold.
This commit is contained in:
parent
21481dba8f
commit
389f4ee872
1 changed files with 1 additions and 1 deletions
|
|
@ -140,7 +140,7 @@ class NanoVectorDBStorage(BaseVectorStorage):
|
|||
embedding = await self.embedding_func([query])
|
||||
embedding = embedding[0]
|
||||
logger.info(
|
||||
f"Query: {query}, top_k: {top_k}, cosine_better_than_threshold: {self.cosine_better_than_threshold}"
|
||||
f"Query: {query}, top_k: {top_k}, cosine: {self.cosine_better_than_threshold}"
|
||||
)
|
||||
results = self._client.query(
|
||||
query=embedding,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue