snorkelflow.client
Interfaces to interact with the Snorkel Flow REST API.
Most of the functions in the snorkelflow.client
module require a client context
object — SnorkelFlowContext
— that points to the Snorkel Flow instance:
import snorkelflow.client as sf
ctx = sf.SnorkelFlowContext.from_kwargs()
All the functions under submodules are also available under snorkelflow.client
.
Examples
import snorkelflow.client as sf
# get_node is available under snorkelflow.client.nodes
sf.nodes.get_node(node)
# also available under snorkelflow.client (recommended)
sf.get_node(node)
Since snorkelflow.client
submodules may be reorganized in the future, we recommend accessing functions directly from snorkelflow.client
to minimize the risk of future breaking changes.
Submodules
Submodules
Analysis related functions. | |
Annotations-related SDK functions. | |
Annotation source related functions. | |
Application related functions. | |
(Annotation) batch related functions. | |
Block related functions. | |
Comment related functions. | |
Context related classes. | |
Custom pip install related functions. | |
Dataset related functions. | |
Dataset views functions for datasets | |
Datasource related functions. | |
Evaluation related functions. | |
External model endpoints related functions. | |
File storage related functions to upload and download files and directories. | |
File storage config related functions. | |
Foundation model suite related functions. | |
Ground truth related functions. | |
LF package related functions. | |
LF template related functions. | |
LF related functions. | |
Metric related functions. | |
Model related functions. | |
Node related functions. | |
Minio related functions. | |
Operator related functions. | |
Secret store related functions. | |
Studio related functions. | |
Synthetic data related functions for generating synthetic data. | |
Tag-related functions. | |
Training set related functions. | |
SDK functions for transferring assets between applications or nodes on a single Snorkel Flow instance. | |
Utility functions. | |
User related functions. | |
Workflow related functions. |