hkulekci / qdrant-php

Qdrant is a vector similarity engine & vector database. It deploys as an API service providing search for the nearest high-dimensional vectors. With Qdrant, embeddings or neural network encoders can be turned into full-fledged applications for matching, searching, recommending, and much more!
MIT License
93 stars 21 forks source link

Support for recommended endpoint #18

Closed gregpriday closed 1 year ago

gregpriday commented 1 year ago

The basic test for the recommended endpoint with integration tests.

I tried to match your header styles, but if you'd prefer me not ad my own details, we can just remove those or set them to your name. I tried to match your code and formatting as closely as possible, so it's largely your code anyway.

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.66 :tada:

Comparison is base (3314f44) 82.66% compared to head (04b588b) 83.33%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #18 +/- ## ============================================ + Coverage 82.66% 83.33% +0.66% - Complexity 228 237 +9 ============================================ Files 52 53 +1 Lines 802 834 +32 ============================================ + Hits 663 695 +32 Misses 139 139 ``` | Flag | Coverage Δ | | |---|---|---| | unittests | `83.33% <100.00%> (+0.66%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Haydar+K%C3%9CLEKC%C4%B0#carryforward-flags-in-the-pull-request-comment) to find out more. | [Impacted Files](https://app.codecov.io/gh/hkulekci/qdrant-php/pull/18?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Haydar+K%C3%9CLEKC%C4%B0) | Coverage Δ | | |---|---|---| | [src/Endpoints/Collections/Points.php](https://app.codecov.io/gh/hkulekci/qdrant-php/pull/18?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Haydar+K%C3%9CLEKC%C4%B0#diff-c3JjL0VuZHBvaW50cy9Db2xsZWN0aW9ucy9Qb2ludHMucGhw) | `89.10% <100.00%> (+0.93%)` | :arrow_up: | | [src/Models/Request/RecommendRequest.php](https://app.codecov.io/gh/hkulekci/qdrant-php/pull/18?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Haydar+K%C3%9CLEKC%C4%B0#diff-c3JjL01vZGVscy9SZXF1ZXN0L1JlY29tbWVuZFJlcXVlc3QucGhw) | `100.00% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

hkulekci commented 1 year ago

I appreciate your contribution. Thank you. @gregpriday ❤️