ferrin-spec 0.1.2

Ferrin provider specification: model traits, prompt and content types, stream parts, shared errors.
Documentation
1
2
3
4
5
6
7
8
9
10
//! Provider-side resource references.

use std::collections::BTreeMap;

/// Provider-side resource identifiers, keyed by provider name.
///
/// Example: `{ "openai": "file-abc123" }`. A reference produced by one
/// provider's file upload can be attached to a message and resolved by the
/// same provider on a later call.
pub type ProviderReference = BTreeMap<String, String>;