Skip to main content

Crate synwire

Crate synwire 

Source
Expand description

§synwire

Convenience re-exports and reference implementations for Synwire.

This crate provides ready-to-use implementations for common patterns: chat history management, embedding cache, few-shot prompts, text splitters, and additional output parsers.

Re-exports§

pub use synwire_core as core;

Modules§

agent
Agent core re-exports — types needed to build and run agents.
cache
Embedding cache backed by moka. Embedding cache backed by moka.
chat_history
Chat message history traits and implementations. Chat message history traits and implementations.
output_parsers
Additional output parser implementations. Additional output parser implementations.
prompts
Few-shot prompt templates and example selectors. Few-shot prompt templates and example selectors.
text_splitters
Text splitter implementations for chunking documents. Text splitter implementations for chunking documents.