整理了一下手误的注释
This commit is contained in:
parent
c19c516792
commit
c01c15f7fb
1 changed files with 2 additions and 2 deletions
|
|
@ -312,9 +312,9 @@ def process_combine_contexts(hl, ll):
|
|||
async def get_best_cached_response(
|
||||
hashing_kv, current_embedding, similarity_threshold=0.95
|
||||
):
|
||||
"""Get the cached response with highest similarity"""
|
||||
"""Get the cached response with the highest similarity"""
|
||||
try:
|
||||
# Get all keys using list_keys()
|
||||
# Get all keys
|
||||
all_keys = await hashing_kv.all_keys()
|
||||
max_similarity = 0
|
||||
best_cached_response = None
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue