@praxisui/ai 8.0.0-beta.33 → 8.0.0-beta.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/fesm2022/praxisui-ai.mjs +215 -24
- package/package.json +2 -2
- package/types/praxisui-ai.d.ts +108 -7
package/README.md
CHANGED
|
@@ -237,6 +237,12 @@ Payload:
|
|
|
237
237
|
Notes:
|
|
238
238
|
- `currentState` must be the config root (not wrapped under `config`).
|
|
239
239
|
- Clarifications may return `{ type: "clarification", message, options }`.
|
|
240
|
+
- Responses may include `observationId`. `PraxisAiAssistantShellComponent` uses it to send write-only quality feedback to the backend triage endpoint without exposing prompt listings in public clients.
|
|
241
|
+
|
|
242
|
+
### Assistant observation feedback
|
|
243
|
+
- `POST /api/praxis/config/ai/triage/observations/{observationId}/feedback`
|
|
244
|
+
|
|
245
|
+
`AiBackendApiService.sendAssistantObservationFeedback` posts `rating`, `reasonCode` and optional `comment` to the governed triage endpoint. The shell renders positive/negative feedback controls only when an assistant message has an `observationId`; listing observations remains an administrative backend capability, not a public UI concern.
|
|
240
246
|
|
|
241
247
|
### Agentic authoring manifest tools
|
|
242
248
|
- `GET /api/praxis/config/ai/authoring/manifests/{componentId}`
|