Struct aleph_alpha_client::Prompt
source · pub struct Prompt<'a>(_);
Expand description
A prompt which is passed to the model for inference. Usually it is one text item, but it could also be a combination of several modalities like images and text.
Implementations§
Trait Implementations§
source§impl<'a> PartialEq<Prompt<'a>> for Prompt<'a>
impl<'a> PartialEq<Prompt<'a>> for Prompt<'a>
impl<'a> Eq for Prompt<'a>
impl<'a> StructuralEq for Prompt<'a>
impl<'a> StructuralPartialEq for Prompt<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Prompt<'a>
impl<'a> Send for Prompt<'a>
impl<'a> Sync for Prompt<'a>
impl<'a> Unpin for Prompt<'a>
impl<'a> UnwindSafe for Prompt<'a>
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.