liboxen 0.53.0

Oxen is a fast data version control system, built with machine learning training data in mind. Designed to handle terabytes of data with ease, using a workflow similar to git. Version both structured and unstructured data of any modality: text, images, video, audio, CSV, Parquet, JSONL, model checkpoints, and more. liboxen is the embeddable core library behind the oxen CLI and server, which power fine tuning and inference pipelines for multimodal LLMs, image models, and video models on Oxen.ai.
use crate::config::embedding_config::EmbeddingColumn;
use serde::{Deserialize, Serialize};

use crate::view::StatusMessage;

#[derive(Deserialize, Serialize, Debug)]
pub struct EmbeddingColumnsResponse {
    #[serde(flatten)]
    pub status: StatusMessage,
    pub columns: Vec<EmbeddingColumn>,
}

#[derive(Deserialize, Serialize, Debug)]
pub struct IndexEmbeddingRequest {
    pub column: String,
    pub use_background_thread: Option<bool>,
}

#[derive(Deserialize, Serialize, Debug)]
pub struct EmbeddingQuery {
    pub column: String,
    pub embedding: Vec<f32>,
    pub page_size: usize,
    pub page_num: usize,
}