2 Commits

Author SHA1 Message Date
Harisaran G
4373b2b6fd
add: personalization model APIs (#2001)
Some checks are pending
tests / test (push) Waiting to run
* add: basic recommendations endpoint

* add: POST `/recommendations/models` recommendations endpoint

* add: get specific model endpoint

* add: DELETE `/recommendations/models/:id` and GET all models recommendations endpoint

* add: ONNX model upload endpoint

* add: save the file as a .tar.gz instead of ONNX

* add: verify_tar_gz function

* add: support for model upload

* add: PUT `/recommendations/model/:id` to update the model, name, collection

* refactor: recommendations -> personalization

* add: personalization tests

* add: personalization_model_manager_tests

* fix: review comments

* fix: review comments
2024-11-14 13:08:42 +05:30
Harisaran G
70dae01e24
add: support for .tar.gz files (#2028)
Some checks are pending
tests / test (push) Waiting to run
* add: support for .tar.gz files

* refactor: binary_body parsing and move content-type to http_server.h

* add: libarchive

* update: BUILD file

* fxi: bazel convecntions

* add: archive utils helper classes

* fix: memory leaks

* refactor: change the flow to cleanup everything at last

* add: archiver tests

* rm: test endpoints

* fix: set data-dir on ArchiveUtilsTest

* add: a const value in http_data.h

* fix: a const value in http_data.h
2024-10-25 12:35:15 +05:30