Skip to main content

wesichain_prompt/
lib.rs

1mod chat;
2mod template;
3
4#[cfg(feature = "yaml")]
5pub mod loader;
6
7#[cfg(feature = "yaml")]
8pub mod hub;
9
10pub use chat::{ChatPromptTemplate, MessagePromptTemplate};
11pub use template::PromptTemplate;
12
13#[cfg(feature = "yaml")]
14pub use hub::{LocalPromptHub, PromptEntry, PromptHub, PromptKind};
15#[cfg(feature = "yaml")]
16pub use loader::{load_chat_prompt, load_prompt_template};