cortex-mem-service 2.7.0

HTTP REST API service for Cortex Memory
1
2
3
4
5
6
7
8
9
use axum::{Router, routing::post};
use crate::state::AppState;
use std::sync::Arc;

pub fn routes() -> Router<Arc<AppState>> {
    Router::new()
        .route("/extract/:thread_id", post(crate::handlers::automation::trigger_extraction))
        .route("/reindex", post(crate::handlers::automation::trigger_reindex))
}