You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am thinking whether it make sense to create a more integrated services for the following:
A uploader service with the following functions:
new_upload(type='model', id='affable-shark'): this will interact with s3-client service, and generate URL, if id is set, then it means a new version, if id is not set then we will generate one for it. the return should be a presigned upload URL and version etc.
finish_upload(id='affable-shark', version='3'): calling this will notify the CI, and other things.
check_status(id='affable-shark', version='3'): return the status of the model, all the actions along with all the chat messages.
A reviewer service with the following funtions:
list_versions(id): list all the chat messages
new_message(id, version, message): for append a chat message
get_messages(id, version): get the chat messages of a version
request_changes(id, version): request changes for a staged version
approve(id, version): approve a staged version
test_model(id, version): run test with the test dataset for a staged version, this will be implemented with hypha-launcher, it will return either it success or not, and the logs.
One of the motivation for separating this services is to simplify clients that only upload, and the review services will only be used by us internally. With the 'uploader' service above, we will be able to support CLI, and rust clients, easily with a clean interface.
I am thinking whether it make sense to create a more integrated services for the following:
A uploader service with the following functions:
A reviewer service with the following funtions:
One of the motivation for separating this services is to simplify clients that only upload, and the review services will only be used by us internally. With the 'uploader' service above, we will be able to support CLI, and rust clients, easily with a clean interface.
Did I miss anything? What do you think?
cc @jmetz @FynnBe
The text was updated successfully, but these errors were encountered: