snorkelai.sdk.client
Interfaces to interact with the Snorkel Flow REST API.
Most of the functions in the snorkelai.sdk.client
module require a client context
object — SnorkelSDKContext
— that points to the Snorkel Flow instance:
import snorkelai.sdk.client as sf
ctx = sf.SnorkelSDKContext.from_endpoint_url()
All the functions under submodules are also available under snorkelai.sdk.client
.
Examples
import snorkelai.sdk.client as sf
# get_node is available under snorkelai.sdk.client.nodes
sf.nodes.get_node(node)
# also available under snorkelai.sdk.client (recommended)
sf.get_node(node)
Since snorkelai.sdk.client
submodules may be reorganized in the future, we recommend accessing functions directly from snorkelai.sdk.client
to minimize the risk of future breaking changes.
Submodules
Submodules
snorkelai.sdk.client.analyses | Analysis related functions. |
snorkelai.sdk.client.annotations | Annotations allow subject matter experts (SMEs) and LLMs to add labels to your data. |
snorkelai.sdk.client.annotation_sources | Annotation source related functions. |
snorkelai.sdk.client.applications | Application related functions. |
snorkelai.sdk.client.batches | (Annotation) batch related functions. |
snorkelai.sdk.client.blocks | Block related functions. |
snorkelai.sdk.client.comments | Comment related functions. |
snorkelai.sdk.client.ctx | Context related classes. |
snorkelai.sdk.client.dataset_views | Dataset views functions for datasets |
snorkelai.sdk.client.datasources | Datasource related functions. |
snorkelai.sdk.client.evaluation | Evaluation related functions. |
snorkelai.sdk.client.external_models | External model endpoints related functions. |
snorkelai.sdk.client.files | File storage related functions to upload and download files and directories. |
snorkelai.sdk.client.file_storage_configs | File storage config related functions. |
snorkelai.sdk.client.fm_suite | Foundation model suite related functions. |
snorkelai.sdk.client.gts | Ground truth related functions. |
snorkelai.sdk.client.lf_packages | LF package related functions. |
snorkelai.sdk.client.lf_templates | LF template related functions. |
snorkelai.sdk.client.lfs | LF related functions. |
snorkelai.sdk.client.metrics | Metric related functions. |
snorkelai.sdk.client.models | Model related functions. |
snorkelai.sdk.client.nodes | In a data pipeline, nodes are configurable computation steps that organize and connect the flow of your data in a Directed Acyclic Graph (DAG). |
snorkelai.sdk.client.object_storage | Minio related functions. |
snorkelai.sdk.client.operators | Operator related functions. |
snorkelai.sdk.client.secrets | Secret store related functions. |
snorkelai.sdk.client.synthetic | Synthetic data related functions for generating synthetic data. |
snorkelai.sdk.client.tags | Tag-related functions. |
snorkelai.sdk.client.training_sets | Training set related functions. |
snorkelai.sdk.client.transfer | SDK functions for transferring assets between applications or nodes on a single Snorkel Flow instance. |
snorkelai.sdk.client.utils | Utility functions. |
snorkelai.sdk.client.users | User related functions. |