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: packages/formations/README.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,21 @@ const synthesisPrompt = buildSynthesisPrompt(strategyRoom, 'What should we do ne
29
29
]);
30
30
```
31
31
32
+
## Embeddable Payload
33
+
34
+
Use the minimal embed API when you want a website, docs page, or product surface to render a CouncilVerse debate shell without binding to any specific LLM provider.
35
+
36
+
```bash
37
+
node --input-type=module -e "import { buildCouncilEmbedPayload } from '@relaylaunch/councilverse-formations'; console.log(JSON.stringify(buildCouncilEmbedPayload('technical-review', 'Should we ship the embeddable verdict widget?'), null, 2));"
38
+
```
39
+
40
+
The payload includes:
41
+
42
+
-`schemaVersion: "councilverse.embed.v1"`
43
+
- formation metadata and default round count
44
+
- one provider-agnostic system prompt per role
45
+
- a synthesis prompt ready for your own model gateway
0 commit comments