HumanSignal / Adala

Adala: Autonomous DAta (Labeling) Agent framework
https://humansignal.github.io/Adala/
Apache License 2.0
911 stars 72 forks source link

feat: DIA-1270: allow Azure inference #169

Closed matt-bernstein closed 1 month ago

matt-bernstein commented 1 month ago

Pass through azure params needed to LiteLLM, and abstract away common inference params into a Settings class, removing 100 lines of redundant parameter plumbing+docs and ensuring all litellm-derived Runtimes have the same API.

Other QoL improvements

Example of an Azure payload is at the end of test_server.py.

robot-ci-heartex commented 1 month ago

Commit https://github.com/HumanSignal/infra/commit/8ad0110425bd8d53b7d72e72645b1e80bfac7e4a is created.

codecov-commenter commented 1 month ago

Codecov Report

Attention: Patch coverage is 49.18033% with 62 lines in your changes missing coverage. Please review.

Project coverage is 58.49%. Comparing base (41f0270) to head (fba2889). Report is 3 commits behind head on master.

Files Patch % Lines
server/handlers/result_handlers.py 3.57% 27 Missing :warning:
adala/runtimes/_litellm.py 25.92% 20 Missing :warning:
adala/utils/pydantic_generator.py 69.23% 8 Missing :warning:
adala/utils/llm.py 82.14% 5 Missing :warning:
adala/runtimes/base.py 33.33% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #169 +/- ## ========================================== - Coverage 61.17% 58.49% -2.69% ========================================== Files 43 43 Lines 1870 1872 +2 ========================================== - Hits 1144 1095 -49 - Misses 726 777 +51 ```

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

robot-ci-heartex commented 1 month ago

Commit https://github.com/HumanSignal/infra/commit/856cc23d81bf21cdca74b9e550baf9db764f4974 is created.

robot-ci-heartex commented 1 month ago

Commit https://github.com/HumanSignal/infra/commit/ac793a689072e17205cfcada034360238eee3c82 is created.

robot-ci-heartex commented 1 month ago

Commit https://github.com/HumanSignal/infra/commit/75f2acc06f4ede2e043d997f0244475bf5588f57 is created.

robot-ci-heartex commented 1 month ago

Commit https://github.com/HumanSignal/infra/commit/97a66e0ff28b63b8ce8feaa50a8befc39c3b86d7 is created.

robot-ci-heartex commented 1 month ago

Commit https://github.com/HumanSignal/infra/commit/9b8b857b1874f9fba9309d9e6702be581dfb2f23 is created.

robot-ci-heartex commented 1 month ago

Commit https://github.com/HumanSignal/infra/commit/7259710f7155d52dcfa627e86b64748d2616fc49 is created.

robot-ci-heartex commented 1 month ago

Commit https://github.com/HumanSignal/infra/commit/97fc4f114a1a4c6ef54616e58272067d215c4b3a is created.

robot-ci-heartex commented 1 month ago

Commit https://github.com/HumanSignal/infra/commit/1d47de561ecf42a07fc4c521a5a09c0a73c03a8a is created.

robot-ci-heartex commented 1 month ago

Commit https://github.com/HumanSignal/infra/commit/7d91cd392c8f6121dde84544bc94134c18106f74 is created.

robot-ci-heartex commented 1 month ago

Commit https://github.com/HumanSignal/infra/commit/9b520d713b5507b4a11abb1e99dc8c51560ef813 is created.

robot-ci-heartex commented 1 month ago

Commit https://github.com/HumanSignal/infra/commit/44acc5ae9408a90d333f3a38092c5822a3df5510 is created.

robot-ci-heartex commented 1 month ago

Commit https://github.com/HumanSignal/infra/commit/e487681dd0524fd2c6179df1ae55f9369ffe4864 is created.

robot-ci-heartex commented 1 month ago

Commit https://github.com/HumanSignal/infra/commit/f3a1444b8402d42a3c11876e72aad732423898d4 is created.

robot-ci-heartex commented 1 month ago

Commit https://github.com/HumanSignal/infra/commit/eeeacce565f39df21e4088b26e8a58d698f31226 is created.

robot-ci-heartex commented 1 month ago

Commit https://github.com/HumanSignal/infra/commit/307c2762e8643777227f57bbdd8374179c70f742 is created.

robot-ci-heartex commented 1 month ago

Commit https://github.com/HumanSignal/infra/commit/ec81111b81b2ab3057706824e30b8b5543aa5029 is created.

robot-ci-heartex commented 1 month ago

Commit https://github.com/HumanSignal/infra/commit/193203de48491f5e4bfd22cdb3b244516803c6dc is created.

robot-ci-heartex commented 1 month ago

Commit https://github.com/HumanSignal/infra/commit/98525899ceccd6217d24cda0abff5fe0841eee58 is created.

robot-ci-heartex commented 1 month ago

Commit https://github.com/HumanSignal/infra/commit/35bd167ff53aa4ce85155684364b7b1d9ec80e51 is created.

robot-ci-heartex commented 1 month ago

Commit https://github.com/HumanSignal/infra/commit/33a6a15509c4bc02f650a4520b95cb147bb3e01a is created.