cognis-core 0.2.1

Core traits and types for the Cognis LLM framework
Documentation
pub mod base;
pub mod chat_model;
pub mod fake;
pub mod llm;
pub mod utils;

pub use base::BaseLanguageModel;
pub use chat_model::{
    BaseChatModel, ChatModelRunnable, ChatStream, ModelProfile, ModelProfileRegistry,
    StreamingMode, StructuredOutputModel, ToolChoice,
};
pub use fake::{
    FakeChatModel, FakeListChatModel, FakeListLLM, FakeMessagesListChatModel, FakeStreamingListLLM,
    GenericFakeChatModel, ParrotFakeChatModel,
};
pub use llm::{BaseLLM, LLMRunnable};
pub use utils::{
    build_data_uri, estimate_token_count, extract_text_from_content, is_openai_data_block,
    parse_data_uri,
};