You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-1Lines changed: 13 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -194,6 +194,9 @@ Highlights:
194
194
-`GET /comp/user/{user_id}/profile` — current `companion_insights` and `training_level`.
195
195
-`POST /comp/chat/{session_id}/event/gift` — apply an out-of-band gift event and affinity delta.
196
196
-`GET /comp/chat/{session_id}/gifts` — list gift events for a session.
197
+
-`POST /comp/chat/{session_id}/message` and `/message_async` accept an optional
198
+
`prompt_traits` field for per-request system-prompt injection — see
199
+
[docs/prompt-traits.md](docs/prompt-traits.md).
197
200
-`GET /comp/affinity/{session_id}` — debug-only live affinity vector, enabled by `EXPOSE_AFFINITY_DEBUG=true`.
198
201
199
202
The `AuthValidator` trait is pluggable if you use a different identity provider.
@@ -228,7 +231,16 @@ If you are building a different product, the reusable part is the affinity + mem
228
231
229
232
## Content note
230
233
231
-
The example personas under `examples/personas/` are written as adult character-chat examples. They can flirt and express desire when the relationship state reaches that point, while still refusing disrespectful or boundary-crossing behavior. If your product needs a SFW default, replace those persona files before deploying.
234
+
The example personas under `examples/personas/` are written as adult
235
+
character-chat examples. They can flirt and express desire when the
236
+
relationship state reaches that point, while still refusing disrespectful or
237
+
boundary-crossing behavior. If your product needs a SFW default, replace
238
+
those persona files before deploying.
239
+
240
+
Per-request behaviour can be further modulated via the
241
+
[`prompt_traits`](docs/prompt-traits.md) field on the message routes —
242
+
the engine treats the supplied text as opaque, so the policy of what
243
+
those traits encode lives entirely in your frontend / middleware.
0 commit comments