Skip to main content

ebbmem_client_generated/models/
cognitive_profile.rs

1/*
2 * Ebb Memory Engine API
3 *
4 * Production cognitive memory engine and multi-transport gateway for autonomous AI agents. Features continuous mass-dilated logarithmic decay, Hebbian co-activation networks, off-heap mmap storage, and unified enterprise security.  Canonical public HTTP contract for Ebb client SDKs. Generated from the hosted FastAPI application. Excludes internal and admin routes (`/api/v1/admin/_**`, `/metrics`, `/mcp`). Protected operations require `Authorization: Bearer <token>` (security scheme `HTTPBearer`). The same routes accept an optional `X-API-Key` header and `X-Ebb-Namespace` to select a namespace. Error responses use the `ErrorResponse` envelope (`code`, `message`, `details`) plus FastAPI's `HTTPValidationError` for 422.  SDK subset of the Ebb HTTP contract. Includes Memory, Tasks, Events, and Health. Omits admin, runtime config, provider probes, registration, password reset, and SSO.
5 *
6 * The version of the OpenAPI document: 0.2.0
7 * Contact: maintainers@spectrayan.com
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// CognitiveProfile : Thalamic cognitive retrieval profile presets.
15/// Thalamic cognitive retrieval profile presets.
16#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
17pub enum CognitiveProfile {
18    #[serde(rename = "Balanced")]
19    Balanced,
20    #[serde(rename = "FactualPrecision")]
21    FactualPrecision,
22    #[serde(rename = "CreativeExploration")]
23    CreativeExploration,
24    #[serde(rename = "DebugDiagnostic")]
25    DebugDiagnostic,
26
27}
28
29impl std::fmt::Display for CognitiveProfile {
30    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
31        match self {
32            Self::Balanced => write!(f, "Balanced"),
33            Self::FactualPrecision => write!(f, "FactualPrecision"),
34            Self::CreativeExploration => write!(f, "CreativeExploration"),
35            Self::DebugDiagnostic => write!(f, "DebugDiagnostic"),
36        }
37    }
38}
39
40impl Default for CognitiveProfile {
41    fn default() -> CognitiveProfile {
42        Self::Balanced
43    }
44}
45