origin-types 0.3.1

Shared wire-format types for Origin — the personal agent memory system.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// SPDX-License-Identifier: Apache-2.0
//! Wire types for profile narrative responses.

use serde::{Deserialize, Serialize};

/// Response type for the profile narrative endpoint.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct NarrativeResponse {
    pub content: String,
    pub generated_at: i64,
    pub is_stale: bool,
    pub memory_count: u64,
}