Core server for Kairo — an NLP-powered note taker.
Refer to this OpenAPI Spec for the complete list of API endpoints.
Important
Install uv before proceedings.
Before you begin, ensure the following prerequisites are met:
-
Run
maketo install dependencies. -
Duplicate
.env.exampleto.envand set up your READ-ONLY Hugging Face token.
make dvc-setupThis will redirect you to browser for OAuth. You might encounter unauthorized warning cause I lazy to KYC for GCloud zzZ
make serverThis usually starts the server at http://localhost:8000
Note
Pair this server with Kairo Web 🕸️ read more...
Caution
This is experimental and pretty compute-intensive.
make dataThis will download the Hugging Face datasets based on this config
uv run -m scripts.train_ner \
--mode new \
--batch-size 32 \
--epochs 10 \
--learning-rate 1e-4 \-
or you can simply opt out all the configs and run with
--mode newonly -
include
--use-wandbto log the training to Weights & Biases, make sure to login withuv run wandb loginfirst
uv run -m scripts.train.abs_sumuv run -m scripts.train.ext_sumwant to contribute? feel free to drop a PR or raise an issue!