llmprism 0.4.0

A unified, fluent Rust interface for integrating Large Language Model providers -- a Rust port of the PHP Prism library.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Test helpers for code that uses this crate, so you can test your own
//! application logic without making real network calls or spending real API
//! credits. See [`FakeProvider`] for the main entry point.

pub mod fake_provider;
pub mod fixtures;

pub use fake_provider::FakeProvider;
pub use fixtures::{
    FakeAudioResponse, FakeEmbeddingsResponse, FakeImagesResponse, FakeModerationResponse,
    FakeRerankResponse, FakeStructuredResponse, FakeTextResponse, FakeTranscriptionResponse,
};