Header menu logo Nao

FeedbackSource Module

Where a feedback signal originated. Explicit feedback is an intentional good/bad rating; conversation feedback is inferred heuristically from the chat history; memory feedback is surfaced by the memory system. The source is stored on each `Feedback` in its `Metadata` (see the `FeedbackSource` module) so the cross-session aggregator can weigh and explain its suggestions without breaking existing literals.

Functions and values

Function or value Description

Conversation

Full Usage: Conversation

Returns: string
Returns: string

Explicit

Full Usage: Explicit

Returns: string
Returns: string

Key

Full Usage: Key

Returns: string

Metadata key under which the source marker is stored on a `Feedback`.

Returns: string

Memory

Full Usage: Memory

Returns: string
Returns: string

ofFeedback f

Full Usage: ofFeedback f

Parameters:
Returns: string

Read the source marker from a feedback entry (defaults to explicit).

f : Feedback
Returns: string

stamp source metadata

Full Usage: stamp source metadata

Parameters:
    source : string
    metadata : Map<string, string>

Returns: Map<string, string>

Stamp a source marker into a metadata map.

source : string
metadata : Map<string, string>
Returns: Map<string, string>

Type something to start searching.