pub struct RelationshipPrompt {
pub text: String,
pub concepts: Vec<String>,
pub max_relationships: usize,
}Expand description
Prompt for relationship identification.
Fields§
§text: StringThe original text.
concepts: Vec<String>Concepts to find relationships between.
max_relationships: usizeMaximum relationships to identify.
Implementations§
Trait Implementations§
Source§impl Clone for RelationshipPrompt
impl Clone for RelationshipPrompt
Source§fn clone(&self) -> RelationshipPrompt
fn clone(&self) -> RelationshipPrompt
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 RelationshipPrompt
impl Debug for RelationshipPrompt
Source§impl PromptTemplate for RelationshipPrompt
impl PromptTemplate for RelationshipPrompt
Auto Trait Implementations§
impl Freeze for RelationshipPrompt
impl RefUnwindSafe for RelationshipPrompt
impl Send for RelationshipPrompt
impl Sync for RelationshipPrompt
impl Unpin for RelationshipPrompt
impl UnwindSafe for RelationshipPrompt
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