cp-embeddings 0.3.0

Local embedding generation using GTE-Qwen2-1.5B-instruct via Candle
docs.rs failed to build cp-embeddings-0.3.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: cp-embeddings-0.3.1

CP Embeddings

Local embedding generation using Candle (pure Rust ML framework).

Overview

This crate provides the Fast Path per CP-010:

  • Hardware-accelerated embedding generation using Candle
  • Downloads model on first use to ~/.cp/models/
  • Uses MiniLM-L6-v2 (384 dimensions)

Usage

use cp_embeddings::EmbeddingEngine;

let engine = EmbeddingEngine::new()?;
let embedding = engine.embed("Hello, world!")?;