michaelfeil / infinity

Infinity is a high-throughput, low-latency REST API for serving vector embeddings, supporting a wide range of text-embedding models and frameworks.
https://michaelfeil.eu/infinity/
MIT License
976 stars 72 forks source link

Some docstring and typing fixes #156

Closed lckr closed 3 months ago

lckr commented 3 months ago

Hi @michaelfeil, fixed some doc strings and type hints while perusing the source code :) Let me know if that is in your interest

michaelfeil commented 3 months ago

@lckr Thanks a lot, great to see you here!

Can you run a quick formatting?

cd libs/infinity_emb
poetry shell
make precommit
codecov-commenter commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 73.11%. Comparing base (e055e40) to head (10dbed8).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #156 +/- ## ========================================== + Coverage 73.05% 73.11% +0.06% ========================================== Files 32 32 Lines 1759 1763 +4 ========================================== + Hits 1285 1289 +4 Misses 474 474 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.