pub struct FeedbackEntry {
pub qa_id: String,
pub feedback_text: Option<String>,
pub feedback_score: Option<i32>,
}Expand description
Feedback attached to an existing QA entry.
Python parity: cognee/memory/entries.py:53-64.
Fields§
§qa_id: StringQA id this feedback is attached to (required).
feedback_text: Option<String>Optional free-form feedback string.
feedback_score: Option<i32>Optional 1..=5 feedback score.
Trait Implementations§
Source§impl Clone for FeedbackEntry
impl Clone for FeedbackEntry
Source§fn clone(&self) -> FeedbackEntry
fn clone(&self) -> FeedbackEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FeedbackEntry
impl Debug for FeedbackEntry
Source§impl<'de> Deserialize<'de> for FeedbackEntry
impl<'de> Deserialize<'de> for FeedbackEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for FeedbackEntry
impl RefUnwindSafe for FeedbackEntry
impl Send for FeedbackEntry
impl Sync for FeedbackEntry
impl Unpin for FeedbackEntry
impl UnsafeUnpin for FeedbackEntry
impl UnwindSafe for FeedbackEntry
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