pub struct GraphRAGResult {
pub answer: String,
pub sources: Vec<String>,
pub mode: QueryMode,
}Expand description
Result of a GraphRAG query.
Fields§
§answer: StringThe final answer generated by the LLM.
sources: Vec<String>Source entity names or context used for the answer.
mode: QueryModeQuery mode used to produce this result.
Trait Implementations§
Source§impl Clone for GraphRAGResult
impl Clone for GraphRAGResult
Source§fn clone(&self) -> GraphRAGResult
fn clone(&self) -> GraphRAGResult
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 moreAuto Trait Implementations§
impl Freeze for GraphRAGResult
impl RefUnwindSafe for GraphRAGResult
impl Send for GraphRAGResult
impl Sync for GraphRAGResult
impl Unpin for GraphRAGResult
impl UnsafeUnpin for GraphRAGResult
impl UnwindSafe for GraphRAGResult
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