Rapidata ranking flow
RapidataRankingFlow #
Bases: RapidataFlow
Source code in src/rapidata/rapidata_client/flow/rapidata_ranking_flow.py
create_new_flow_batch #
create_new_flow_batch(
datapoints: list[str],
context: str | None = None,
context_assets: list[str] | None = None,
data_type: Literal["media", "text"] = "media",
private_metadata: list[dict[str, str]] | None = None,
accept_failed_uploads: bool = False,
time_to_live: int | None = None,
) -> RapidataFlowItem
Rank a batch with shared text and asset context.
Source code in src/rapidata/rapidata_client/flow/rapidata_ranking_flow.py
update_config #
update_config(
instruction: str | None = None,
starting_elo: int | None = None,
min_responses: int | None = None,
max_responses: int | None = None,
) -> None
Update the instruction and response thresholds of this ranking flow.