Advanced RAG powering AI assistants
with MongoDBService(model=Document, collection_name=collection_name) as service:
documents = service.fetch_documents(limit, query={})
Why don't we simply filter there by specifying query_filter ? Why additional step for filtering?
with MongoDBService(model=Document, collection_name=collection_name) as service:
documents = service.fetch_documents(limit, query={})
Why don't we simply filter there by specifying query_filter ? Why additional step for filtering?