amberjs 1.17.0

JavaScript/TypeScript runtime built with Rust and V8
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Amber AI Engine - Native embeddings, tensor ops, and local inference

pub mod candle_embeddings;
pub mod candle_engine;
pub mod embedding;
pub mod generator;

pub use candle_embeddings::{candle_cosine_similarity, candle_embed, candle_top_k_similar};
pub use candle_engine::{
    candle_dot, candle_matmul, candle_norm, candle_softmax, get_device, get_model, CandleModel,
};
pub use embedding::{
    cosine_similarity, embed_batch, embed_text, EmbedOptions, DEFAULT_EMBEDDING_DIM,
};
pub use generator::{EdgeGenerator, GenerateOptions, GenerateResult};