pub enum PromptApplication {
Unknown,
None,
ClientPrefix,
ServerPromptName,
Internal,
}Expand description
Where prompt/scoping is applied.
Variants§
Unknown
None
ClientPrefix
Prefix applied in the client before sending to the model/backend.
ServerPromptName
Prompt selection is delegated to the backend/server (e.g. TEI prompt_name).
Internal
Backend applies scope/prompt internally (e.g. local HF embedder uses EmbedMode).
Trait Implementations§
Source§impl Clone for PromptApplication
impl Clone for PromptApplication
Source§fn clone(&self) -> PromptApplication
fn clone(&self) -> PromptApplication
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PromptApplication
impl Debug for PromptApplication
Source§impl PartialEq for PromptApplication
impl PartialEq for PromptApplication
impl Copy for PromptApplication
impl Eq for PromptApplication
impl StructuralPartialEq for PromptApplication
Auto Trait Implementations§
impl Freeze for PromptApplication
impl RefUnwindSafe for PromptApplication
impl Send for PromptApplication
impl Sync for PromptApplication
impl Unpin for PromptApplication
impl UnsafeUnpin for PromptApplication
impl UnwindSafe for PromptApplication
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more