PAIR-code / PAIR-code/deliberate-lab
Include color and ID information for participants in LLM chat prompts
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 96
- Forks
- 40
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 20
Description
We observed a scenario where there were two "Otter"s in a chat - the mediator only sees “Otter:” in the conversation, thinking there's just one.
For agents, add the color e.g. “Green Otter / Red Otter” in the prompt (or some other descriptor). Make clear these are human participants with random animal aliases. However, when they refer to them, only refer to them as Otter (?) or decide how to deal with this?
Bonus: Add color in the name on hover in the UI for humans for accessibility reasons
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Trace how participant names are assembled for LLM chat prompts and how human participant names are rendered in the UI; the payload does not identify specific files or tests. Done means prompts distinguish participants with the same animal alias, explain that aliases represent humans, and the UI exposes color on hover if the bonus is included.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- accessibility, ai, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100