marqo-ai / marqo

Unified embedding generation and search engine. Also available on cloud - cloud.marqo.ai
https://www.marqo.ai/
Apache License 2.0
4.29k stars 183 forks source link

[WIP] Hybrid Search #845

Open vicilliar opened 1 month ago

vicilliar commented 1 month ago

Hybrid parameters has the following parameters

    retrieval_method: str
    ranking_method: str
    alpha: float
    searchable_attributes_lexical: List[str]
    searchable_attributes_tensor: List[str]

Possible retrieval methods are: ["disjunction", "tensor", "lexical"]. The disjunction method combines both tensor and lexical.

Possible ranking methods are: ["rrf", "normalize_linear", "tensor", "lexical"]. Therrfandnormalize_linear` methods combine both tensor and lexical.