Skip to content

Proposals: Dedicated tag for each role, Tag start/end in regex style #6

@SamuelTallet

Description

@SamuelTallet

Hello community,

  1. How about indicating the speaker role with a dedicated tag?
  2. And we could also use the regex symbols ^ and $ to respectively mark the start and the end of each tag.

A mix between semantic and compactness. For example:

<^chat^>
<^user^>Eric
What is 17 * 34?
<$user$>
<^assistant^>
<^thought^>To multiply 17 by 34, we can break it down:
17 * 34 = 17 * (30 + 4)
        = (17 * 30) + (17 * 4)
        = 510 + 68
        = 578
<$thought$>
17 * 34 = 578.
<$assistant$>
<$chat$>

Pros:

  1. The role and the optional name of the speaker take up little space while remaining relatively explicit.
  2. Say, when we click on assistant in a code editor, we can clearly see the start and the end of the tag.

Cons: (your turn 😄)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions