File size: 466 Bytes
b68e1c5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
from app.media_retriever import MediaRetriever

def get_media_retriever(
    embed_model,
    qdrant_client,
    bm25_models,
    bm25_vocabs,
    movie_collection_name,
    tv_collection_name,
):
    return MediaRetriever(
        embed_model=embed_model,
        qdrant_client=qdrant_client,
        bm25_models=bm25_models,
        bm25_vocabs=bm25_vocabs,
        movie_collection_name=movie_collection_name,
        tv_collection_name=tv_collection_name,
    )