21c7570c创建于 2025年2月10日历史提交
#![warn(missing_docs)]
#![allow(clippy::type_complexity)]
#![doc = include_str!("../README.md")]

pub mod context;
pub mod search;
pub mod vector_db;

pub use kalosm_language_model;
#[cfg(feature = "llama")]
pub use kalosm_llama;
pub use kalosm_sample;
#[cfg(feature = "bert")]
pub use rbert;

/// A prelude of commonly used items in kalosm-language
pub mod prelude {
    pub use crate::context::*;
    pub use crate::search::*;
    pub use crate::vector_db::*;
    pub use futures_util::StreamExt as _;
    pub use kalosm_language_model::*;
    #[cfg(feature = "llama")]
    pub use kalosm_llama::{Llama, LlamaBuilder, LlamaSession, LlamaSource};
    pub use kalosm_sample::*;
    pub use kalosm_streams::text_stream::*;
    #[cfg(feature = "bert")]
    pub use rbert::{Bert, BertBuilder, BertSource};
    pub use scraper::Html;
}