-
Notifications
You must be signed in to change notification settings - Fork 7
feat(adr): Add ADR-0011 (Java to Python service migration) #62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
sheltoncyril
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
| - HDF5 for data storage | ||
| - Pandas for data manipulation | ||
| - Prometheus client for metrics exposure | ||
| - MariaDB |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey Rui 👋, quick question, does it have to be MariaDB or could we just say any SQL based DB provider?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @sheltoncyril , good question.
It does not have to be MariaDB exclusively, but for each supported storage backend we would need to write an interface for it. As a starting point, I think we should do MariaDB first, since that's the supported one for the Java service. But in theory, we could have either TrustyAI (or community) interfaces for any storage type in the future.
| - Service Metadata (`/info/*`) | ||
| - Legacy Endpoints (`/metrics/dir`, `/metrics/spd`) | ||
|
|
||
| **Python components:** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to identify which upstream components provide the implementations that give us parity with the status quo?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dahlem good point. IMO the plan is to (later on) replace any algorithm with TrustyAI code/sdk providers.
e.g. we would have in these endpoints something like:
from trustyai.providers import FairnessProvider
# /metrics/spd
spd = FairnessProvider(provider="<your_favourite_library", ...).spd(data)with the concrete metrics backend selected by the user via configuration, but I agree it's a good idea to have specify which will the providers by default (e.g. scikit-learn, AIF360, etc)
No description provided.