ultravioletrs / cocos

Cocos AI - Confidential Computing System for AI
https://ultraviolet.rs/cocos.html
Apache License 2.0
25 stars 9 forks source link

NOISSUE - Add optional Filename #195

Closed SammyOina closed 3 months ago

SammyOina commented 3 months ago

What type of PR is this?

This is a feature as it adds filename to datasets which are optionally verified if specified on the manifest. Filename is also persisted on dataset directory

What does this do?

Which issue(s) does this PR fix/relate to?

Have you included tests for your changes?

No

Did you document any new/modified feature?

No

Notes

sequenceDiagram
    participant User
    participant ManagerService
    participant AgentService
    participant Dataset

    User->>ManagerService: Initiate computation run
    ManagerService->>AgentService: Prepare manifest containing datasets with Filename
    AgentService->>Dataset: Append new dataset with Filename to manifest
    User->>AgentService:Upload dataset
    AgentService->>Dataset:Verify filename as in manifest
    Dataset->>AgentService:Dataset stored with its filename
    AgentService-->>User: Datasets uploaded successfully