Skip to content

Commit

Permalink
update ChatRoleMap comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Parker-Stafford committed Oct 8, 2024
1 parent 8f7ddf4 commit 9e4a5e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/pages/playground/constants.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ export const NUM_MAX_PLAYGROUND_INSTANCES = 2;
export const DEFAULT_CHAT_ROLE = "user";

/**
* Map of a string role to a ChatMessageRole.
* Attempts
* Map of {@link ChatMessageRole}.to potential role values.
* Used to map roles to a canonical role.
*/
export const ChatRoleMap: Record<ChatMessageRole, string[]> = {
user: ["user", "human"],
Expand Down

0 comments on commit 9e4a5e7

Please sign in to comment.