Jegor Kitškerkin

Results 40 comments of Jegor Kitškerkin

Hello @julian-risch, based on the docstrings: ``` - If you provide a list containing a single query... - ... and a single list of Documents, the single list of Documents...

As far as I see from the function `_preprocess_batch_queries_and_docs` ```python if len(documents) > 0 and isinstance(documents[0], Document): ... single_list_of_docs = True ``` which is indeed the case for the inputs...

Hello @julian-risch, sorry, missed your first message. I will add a test case.

Hi @julian-risch, the mismatch between similarity_scores and preds occurs when the batch_size < len(docs) for predict_batch, so I have added two test cases for this.

I could suggest using https://github.com/roman-right/beanie as ODM (and I suppose it is the most widely used).

Thanks for the reply @jameswinegar, that is exactly why I was wondering, because I use the package to cache ML predictions.

Same here, makes it impossible to use. The only way, in this case, to manually solve is to run `plan` and `apply` twice (in the second run the primary IP...

@s3rius maybe it is possible to use https://github.com/fastapi-users/fastapi-users ? They provide more or less ready-made solution for auth, supporting JWT and other methods. I think it is very widely used,...

Hello @V3ntus, Maybe using the key_builder like so would help? ```python def key_builder( func, namespace: Optional[str] = "", request: Optional[Request] = None, response: Optional[Response] = None, args: Optional[tuple] = None,...

@amyeroberts thank you for your comments in the previous PR! I have addressed your suggestions and also added the image processor test. However, I ran `make style`, however the pipeline...