Commit Graph

3 Commits

Author SHA1 Message Date
George
636f3e86fb Inference grpc (#838)
* new: update proto

* fix: rollback too recent changes to proto

* new: add and fix conversions

* fix: fix type hints

* fix: fix comment

* fix: convert options

* fix: fix vector output conversion

* tests: add custom conversion case for new vector fields
2024-11-06 14:32:10 +01:00
Andrey Vasnetsov
bb8c442169 Recommendation api update + local mode (#314)
* WIP: recommendation api update

* implement local new reco + add new tests

* refactor calculate_best_scores, normalize score assertion

* fix raw vectors in new recommend

* fix mypy errors, add new reco on group recommend

* fix more lints from ci

* fix pyright lint

* formattng

* Add descriptions to enums

* no mutable default argument

* edit score comparison precision based on magnitude

* Address review comments

* remove custom message for type ignore

* add coverage test

* improve coverage test a little

* add more fixtures for conversion test

---------

Co-authored-by: Luis Cossío <luis.cossio@outlook.com>
2023-10-05 03:38:19 +02:00
Andrey Vasnetsov
0b04f9f3b1 automatic validation scaffold (#38)
* automatic validation scaffold

* grpc -> http for filter

* More conversions

* More conversions

* add all fixtures (#39)

* add rest-to-grpc convertions (#40)

* More conversions

* full coverage for conversions

* fix imports

* add exec permissions

Co-authored-by: M. Yusuf Sarıgöz <yusufsarigoz@gmail.com>
2022-05-22 11:20:55 +02:00