Skip to main content

objectiveai_sdk/vector/
mod.rs

1//! Vector completion API types.
2//!
3//! Vector completions produce **numbers** instead of text. Given a prompt and
4//! a set of possible responses, vector completions:
5//!
6//! 1. Run multiple agent completions (one per agent in the Swarm)
7//! 2. Force each completion to select one of the predefined responses
8//! 3. Combine the selections using explicit weights (the "profile")
9//! 4. Return a vector of scores that sums to 1
10//!
11//! Use vector completions for: picking a winner, ranking options, classification,
12//! and producing machine-usable scoring outputs.
13
14pub mod completions;