feat: support freeform persona initialization seeds
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
|
||||
BoxBrain models one persona as a durable memory space plus a runtime harness:
|
||||
|
||||
- `initializePersona(input)` creates a persona, asks an LLM adapter to generate a detailed life story from personality/history/values/likes/dislikes/relationships, asks another extraction path to split that story into IdentityDB facts, stores every fact in the persona's IdentityDB space, and optionally generates a profile image.
|
||||
- `initializePersona(input)` creates a persona, prefers a long freeform persona seed string as the caller input, asks an LLM adapter to generate a detailed life story from that seed plus any supplemental structured hints, asks another extraction path to split that story into IdentityDB facts, stores every fact in the persona's IdentityDB space, and optionally generates a profile image.
|
||||
- `generateSchedule(input)` creates a month/week/day schedule for a persona around a date, stores schedule facts keyed by time topics, and derives contact availability windows from the schedule.
|
||||
- `setAvailability(input)` explicitly sets or updates contact availability: `online`, `do_not_disturb`, or `offline`.
|
||||
- `sendMessage(input)` handles a user text turn by loading mandatory memories, delegating contextual memory search to an LLM, then asking the persona LLM to emit one or more short DM messages through a tool-like output contract.
|
||||
@@ -145,7 +145,7 @@ BoxBrain models one persona as a durable memory space plus a runtime harness:
|
||||
|
||||
**Behavior to test first:**
|
||||
- Initialization creates a stable persona object with `id`, `spaceName`, and profile fields.
|
||||
- Biography adapter is called with personality, history, values, preferences, relationships, and current date context.
|
||||
- Biography adapter is called with the freeform `seedText` when provided, plus any supplemental structured hints and current date context.
|
||||
- Fact splitter adapter output is stored in the persona's space.
|
||||
- Profile image adapter is not called unless requested.
|
||||
- Profile image result is returned and stored as a fact when requested.
|
||||
|
||||
Reference in New Issue
Block a user