mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-07 04:45:44 +00:00
change Reranker to WeightedInMemoryAggregator
This commit is contained in:
parent
60318b659d
commit
897be1376e
6 changed files with 22 additions and 142 deletions
|
@ -39,7 +39,6 @@ def sanitize_collection_name(name: str, weaviate_format=False) -> str:
|
|||
return s
|
||||
|
||||
|
||||
|
||||
class WeightedInMemoryAggregator:
|
||||
@staticmethod
|
||||
def _normalize_scores(scores: dict[str, float]) -> dict[str, float]:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue