From 9e4a5e7df208a709edaf02f80b2108776d2a66df Mon Sep 17 00:00:00 2001 From: Parker Stafford Date: Tue, 8 Oct 2024 10:36:50 -0700 Subject: [PATCH] update ChatRoleMap comment --- app/src/pages/playground/constants.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/pages/playground/constants.tsx b/app/src/pages/playground/constants.tsx index 5de2213e790..b98e2718e0f 100644 --- a/app/src/pages/playground/constants.tsx +++ b/app/src/pages/playground/constants.tsx @@ -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 = { user: ["user", "human"],