pub struct TextGraphSearchResponse {
pub results: Vec<TextGraphSearchResult>,
pub fact_results: Vec<TextGraphSearchResult>,
pub chunk_results: Vec<TextGraphSearchResult>,
pub answer_bundle_json: Vec<u8>,
pub primary_answer_result_json: Vec<u8>,
pub answer_results_json: Vec<Vec<u8>>,
pub conflict_resolutions_json: String,
pub memories: String,
}Fields§
§results: Vec<TextGraphSearchResult>§fact_results: Vec<TextGraphSearchResult>Per-type results (populated when fact_k / chunk_k > 0 in the request).
extracted facts only
chunk_results: Vec<TextGraphSearchResult>raw session chunks only
answer_bundle_json: Vec<u8>Optional UTF-8 JSON answer bundle built by the gateway when requested.
primary_answer_result_json: Vec<u8>Optional UTF-8 JSON object for the gateway-selected primary answer result.
answer_results_json: Vec<Vec<u8>>Optional ordered UTF-8 JSON answer-result objects when answer bundling is enabled.
conflict_resolutions_json: StringConflict-as-data resolution log (issue #812 / #783). UTF-8 JSON array of
ResolvedClaim objects (#781 shape), one per arbitrated conflict set:
{ winner, losers:\[{node_id, demoted_score, reason}\], policy, set_id }.
Empty string when conflict_policy was UNSPECIFIED / the default was off,
the graph was conflict-cold, or no conflict set was found.
memories: StringReady-to-read PLAIN-TEXT evidence block assembled by the gateway when
STATELET_READER_BLOCK=1, for feeding an LLM reader directly (no client-side
formatting). Empty when the flag is off or no compact memory was built.
Trait Implementations§
Source§impl Clone for TextGraphSearchResponse
impl Clone for TextGraphSearchResponse
Source§fn clone(&self) -> TextGraphSearchResponse
fn clone(&self) -> TextGraphSearchResponse
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for TextGraphSearchResponse
impl Debug for TextGraphSearchResponse
Source§impl Default for TextGraphSearchResponse
impl Default for TextGraphSearchResponse
Source§impl Message for TextGraphSearchResponse
impl Message for TextGraphSearchResponse
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl PartialEq for TextGraphSearchResponse
impl PartialEq for TextGraphSearchResponse
impl StructuralPartialEq for TextGraphSearchResponse
Auto Trait Implementations§
impl Freeze for TextGraphSearchResponse
impl RefUnwindSafe for TextGraphSearchResponse
impl Send for TextGraphSearchResponse
impl Sync for TextGraphSearchResponse
impl Unpin for TextGraphSearchResponse
impl UnsafeUnpin for TextGraphSearchResponse
impl UnwindSafe for TextGraphSearchResponse
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request