cortex-mem-service 2.5.0

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

pub fn routes() -> Router<Arc<AppState>> {
    Router::new()
        .route("/", post(crate::handlers::search::search))
}