cortexdb-sdk 0.2.0-beta.2

Rust HTTP client SDK for CortexDB
Documentation
// @generated by scripts/generate_context_pack_sdk_types.py.
// Source: docs/schemas/context_pack.v1.json
// Do not edit by hand.

pub const CONTEXT_PACK_V1_SCHEMA_VERSION: &str = "context_pack.v1";
pub const CONTEXT_PACK_V1_REQUIRED_FIELDS: &[&str] = &[
    "schema_version",
    "token_budget_tokens",
    "estimated_tokens",
    "truncated",
    "citations_required",
    "answerability_q16",
    "conflict_visibility_q16",
    "visible_conflict_count",
    "cells",
    "anomalies",
];

pub type ContextPackV1 = crate::types::ContextPackResponse;
pub type ContextPackCellV1 = crate::types::ContextPackCellResponse;
pub type ContextPackSourceRefV1 = crate::types::SourceRefResponse;
pub type ContextPackProvenanceV1 = crate::types::ContextSpanProvenanceResponse;
pub type ContextPackExplainV1 = crate::types::ExplainResponse;
pub type ContextPackAccessDecisionV1 = crate::types::ContextAccessDecisionResponse;
pub type ContextPackAnomalyV1 = crate::types::ContextPackAnomalyResponse;
pub type AnswerGroundingReportV1 = crate::types::AnswerGroundingReportResponse;
pub type AnswerGroundingSpanV1 = crate::types::AnswerGroundingSpanResponse;
pub type AnswerGroundingOptionsV1 = crate::types::AnswerGroundingOptionsResponse;