pub struct ContextResponse {
pub guidelines: Vec<String>,
pub tone: String,
pub verbosity: String,
pub flags: Vec<String>,
}Expand description
Response for prompt context.
Fields§
§guidelines: Vec<String>Behavioral guidelines for the LLM.
tone: StringSuggested tone.
verbosity: StringDesired response verbosity.
flags: Vec<String>Active flags for special conditions.
Trait Implementations§
Source§impl Debug for ContextResponse
impl Debug for ContextResponse
Source§impl From<PromptContext> for ContextResponse
impl From<PromptContext> for ContextResponse
Source§fn from(c: PromptContext) -> Self
fn from(c: PromptContext) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ContextResponse
impl RefUnwindSafe for ContextResponse
impl Send for ContextResponse
impl Sync for ContextResponse
impl Unpin for ContextResponse
impl UnwindSafe for ContextResponse
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more