Skip to Content

Type Alias MemoryFeedback

MemoryFeedback: Omit<FeedbackRating, "idx"> & { idx?: never }

What Memory.feedback takes.

FeedbackRating with the idx removed — the memory supplies its own. idx is typed never rather than merely omitted, so passing a FeedbackRating-typed variable (as opposed to an object literal) is also rejected, instead of silently discarding its idx for the memory's own.

Type Declaration

  • Optionalidx?: never

    Never present — a memory's own idx cannot be overridden by the caller.