Skip to main content

MemoryRetrievalFact

Type Alias MemoryRetrievalFact 

Source
pub type MemoryRetrievalFact<T> = MemoryRetrievalSnapshot<T>;
Expand description

Alias for the aggregate DATA fact emitted by the snapshot node.

Aliased Type§

pub struct MemoryRetrievalFact<T> {
    pub fragments: Vec<MemoryFragment<T>>,
    pub indexed: MemoryRetrievalIndex<T>,
    pub ranked: MemoryAnswer<T>,
    pub status: MemoryRetrievalStatus,
    pub errors: Vec<MemoryRetrievalError>,
    pub cursor: MemoryRetrievalCursor,
}

Fields§

§fragments: Vec<MemoryFragment<T>>

fragments field for fragments.

§indexed: MemoryRetrievalIndex<T>

indexed field for indexed.

§ranked: MemoryAnswer<T>

ranked field for ranked.

§status: MemoryRetrievalStatus

status field for status.

§errors: Vec<MemoryRetrievalError>

errors field for errors.

§cursor: MemoryRetrievalCursor

cursor field for cursor.