Skip to content

Latest commit

 

History

History
50 lines (29 loc) · 2.2 KB

File metadata and controls

50 lines (29 loc) · 2.2 KB
graph LR
    Platform_Abstractions["Platform Abstractions"]
    Dedicated_Client["Dedicated Client"]
    Serverless_Client["Serverless Client"]
    Dedicated_Client -- "implements" --> Platform_Abstractions
    Serverless_Client -- "implements" --> Platform_Abstractions
    click Platform_Abstractions href "https://github.com/CodeBoarding/friendli-python/blob/main/.codeboarding/Platform_Abstractions.md" "Details"
Loading

CodeBoardingDemoContact

Details

Abstract Components Overview

Platform Abstractions [Expand]

Defines the foundational base structures and interfaces that enable the SDK to adapt its behavior to various operational modes (e.g., dedicated, serverless) of the Friendli platform. It provides the abstract contracts for interacting with different deployment types.

Related Classes/Methods:

  • friendli_core.basesdk:BaseSDK:19-106

Dedicated Client

A concrete implementation of the Platform Abstractions tailored specifically for interacting with the Friendli platform in a "dedicated" operational mode. It provides the specific logic and configurations required for this environment.

Related Classes/Methods:

  • friendli_core.dedicated:BaseDedicated:24-32
  • friendli_core.dedicated:SyncDedicated:35-49
  • friendli_core.dedicated:AsyncDedicated:52-66

Serverless Client

A concrete implementation of the Platform Abstractions designed for interacting with the Friendli platform in a "serverless" operational mode. It encapsulates the specific logic and configurations for this environment.

Related Classes/Methods:

  • friendli_core.serverless:BaseServerless:24-32
  • friendli_core.serverless:SyncServerless:35-49
  • friendli_core.serverless:AsyncServerless:52-68