Expand description
Public, fully-typed data models for every Floopy-only resource. Wire field names are snake_case and map 1:1 to Rust field names (no rename attributes needed).
Structs§
- Batch
- An asynchronous batch job. Mirrors the OpenAI batch object; the gateway forwards batch traffic verbatim.
- Batch
Create Params - Arguments for
crate::resources::Batches::create. - Batch
List - Response of
crate::resources::Batches::list. - Batch
List Params - Filters for
crate::resources::Batches::list. - Batch
Request Counts - Per-batch progress summary.
- Decision
- One row of the per-request decision audit trail. Nullable gateway fields
are
Option(None== JSONnull). - Decision
List Page - One page of
crate::resources::Decisions::list. - Decision
List Params - Filters for
crate::resources::Decisions::list/pages/iter. Default is “no filter”. - Evaluation
Create Params - Arguments for
crate::resources::Evaluations::create. - Evaluation
Result Row - One scored row of an evaluation.
- Evaluation
Results Page - One page of
crate::resources::Evaluations::results. - Evaluation
Run - A dataset evaluation run.
- Experiment
- An A/B routing experiment.
- Experiment
Create Params - Arguments for
crate::resources::Experiments::create. - Experiment
List Page - One page of
crate::resources::Experiments::list. - Experiment
List Params - Filters for
crate::resources::Experiments::list. - Experiment
Results - Computed outcome of an experiment.
- Export
Decisions Params - Selects the export window and (server-side) format. The SDK always parses
the JSONL stream;
formatis accepted for parity with the gateway. - Export
Trailer - The terminal record of the JSONL export: how many rows were emitted and whether the result was truncated.
- Exported
Decision Row - One row of the decision export.
- Feedback
Submit Params - Arguments for
crate::resources::Feedback::submit. - Feedback
Submit Response - Response from
crate::resources::Feedback::submit. - File
List - Response of
crate::resources::Files::list. - File
List Params - Filters for
crate::resources::Files::list. - File
Object - A file stored on the upstream provider. v1 targets the
batchpurpose (JSONL input + output files). Mirrors the OpenAI file shape; the gateway forwards file traffic verbatim. - File
Upload Params - Arguments for
crate::resources::Files::upload. - OrgConstraints
- Org-wide spend and rate constraints. All fields are
Option:Nonemeans “no limit” — and, onput, clears any existing limit server-side (the gateway PUT is full-replace, so every field is always sent). - Routing
Explain Params - Arguments for
crate::resources::Routing::explain.messagesreuses theasync-openairequest-message type, so a request can be dry-run before it is sent. - Routing
Explain Result - Outcome of a routing dry-run.
- Session
- A conversation restored from Floopy’s stored logs.
- Session
Turn - Provenance for one reconstructed exchange.
- Variant
Results - Aggregated metrics for one experiment variant.