hoshingakag commited on
Commit
17140ef
1 Parent(s): 36cb8de

Update src/llamaindex_palm.py

Browse files
Files changed (1) hide show
  1. src/llamaindex_palm.py +2 -2
src/llamaindex_palm.py CHANGED
@@ -392,8 +392,8 @@ class LlamaIndexPaLM():
392
  "similarity_mode": "DEFAULT",
393
  "similarity_threshold": 0.7,
394
  "similarity_results": {
395
- "eval_context_query_only": eval_context_query_only["result"],
396
- "eval_context_extended_query": eval_context_extended_query["result"],
397
  },
398
  "model_name": self.emb_model._model_name,
399
  },
 
392
  "similarity_mode": "DEFAULT",
393
  "similarity_threshold": 0.7,
394
  "similarity_results": {
395
+ "eval_context_query_only": eval_context_query_only.score,
396
+ "eval_context_extended_query": eval_context_extended_query.score,
397
  },
398
  "model_name": self.emb_model._model_name,
399
  },