Skip to main content

KnowledgeRetrieveResponse

Type Alias KnowledgeRetrieveResponse 

Source
pub type KnowledgeRetrieveResponse = RagResponse<Vec<RetrievalMatch>>;

Aliased Type§

pub struct KnowledgeRetrieveResponse {
    pub data: Option<Vec<RetrievalMatch>>,
    pub code: i64,
    pub message: String,
    pub timestamp: i64,
    pub extra: Map<String, Value>,
}

Fields§

§data: Option<Vec<RetrievalMatch>>§code: i64§message: String§timestamp: i64§extra: Map<String, Value>