Skip to content

Incremental engine for long horizon agents 🌟 Star if you like it!

833 B
Raw Blame
[workspace]

[package]
name = "pdf_embedding"
version = "0.1.0"
edition = "2024"

[dependencies]
# `text` + `fastembed` pull in the SDK ops facades (RecursiveSplitter and the
# SentenceTransformerEmbedder) so this example no longer hand-rolls chunking or
# the fastembed plumbing.
cocoindex = { path = "../../../rust/sdk/cocoindex", features = [
    "postgres",
    "text",
    "fastembed",
    "fs_live",
] }
tokio = { version = "1", features = ["full"] }
serde = { version = "1", features = ["derive"] }
# PDF text extraction (Rust-native stand-in for Python's docling converter).
lopdf = "0.42"
# Query path (pgvector similarity); target writes go through cocoindex::connectors::postgres.
sqlx = { version = "0.8", default-features = false, features = [
    "runtime-tokio",
    "tls-rustls",
    "postgres",
] }
dotenvy = "0.15"