Send Feedback
Feedback closes the admission loop. Aionis only accepts attribution to memory that was exposed by a guide trace.
SDK Example
import { feedbackFromGuide } from "@aionis/sdk";
const usedMemoryIds = result.usedMemoryIds ?? [];
if (usedMemoryIds.length > 0) {
await aionis.feedback(feedbackFromGuide({
guide,
run_id: result.runId,
outcome: result.ok ? "positive" : "negative",
reason: result.summary,
used_memory_ids: usedMemoryIds,
used_surface: "use_now",
}));
}Why Attribution Is Strict
| Rule | Reason |
|---|---|
Use guide_trace_id | Ties outcome to a concrete context compilation. |
| Attribute only exposed memory IDs | Prevents fake or retrospective credit assignment. |
| Include outcome | Lets Aionis learn what helped or harmed. |
| Include reason | Improves audit and future policy analysis. |
This is one of Aionis’ strongest product differences: the system records not just what was retrieved, but which admitted memory was associated with the actual result.