mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-07 20:50:52 +00:00
apply pre-commit
This commit is contained in:
parent
26fb208877
commit
abd456232f
2 changed files with 5 additions and 4 deletions
|
@ -108,10 +108,10 @@ class ChromaIndex(EmbeddingIndex):
|
|||
await maybe_await(self.client.delete_collection(self.collection.name))
|
||||
|
||||
async def query_keyword(
|
||||
self,
|
||||
query_string: str,
|
||||
k: int,
|
||||
score_threshold: float,
|
||||
self,
|
||||
query_string: str,
|
||||
k: int,
|
||||
score_threshold: float,
|
||||
) -> QueryChunksResponse:
|
||||
results = await maybe_await(
|
||||
self.collection.query(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue