objectiveai-sdk 2.0.8

ObjectiveAI SDK, definitions, and utilities
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Streaming agent completion response types.
//!
//! These types are used when `stream: true`. Responses arrive as
//! Server-Sent Events (SSE), with each chunk containing a delta
//! of the full response.

mod agent_completion_chunk;
mod assistant_response_chunk;
mod message_chunk;
mod object;

pub use agent_completion_chunk::*;
pub use assistant_response_chunk::*;
pub use message_chunk::*;
pub use object::*;

#[cfg(test)]
mod agent_completion_chunk_tests;