objectiveai 0.1.4

ObjectiveAI SDK, definitions, and utilities
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Object type marker for streaming vector completion chunks.

use serde::{Deserialize, Serialize};

/// Object type for streaming vector completion chunks.
///
/// Serializes to `"vector.completion.chunk"` in JSON.
#[derive(Debug, Clone, Copy, Serialize, Deserialize, Default)]
pub enum Object {
    /// A streaming vector completion chunk.
    #[serde(rename = "vector.completion.chunk")]
    #[default]
    VectorCompletionChunk,
}