From eaa480802957bd78646415ac278f8f2e5931e644 Mon Sep 17 00:00:00 2001 From: Wauplin Date: Thu, 25 Jan 2024 16:57:33 +0100 Subject: [PATCH] wip --- .../ConversationalWidget/ConversationalWidget.svelte | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/widgets/src/lib/components/InferenceWidget/widgets/ConversationalWidget/ConversationalWidget.svelte b/packages/widgets/src/lib/components/InferenceWidget/widgets/ConversationalWidget/ConversationalWidget.svelte index eeea44a53..66727aa2f 100644 --- a/packages/widgets/src/lib/components/InferenceWidget/widgets/ConversationalWidget/ConversationalWidget.svelte +++ b/packages/widgets/src/lib/components/InferenceWidget/widgets/ConversationalWidget/ConversationalWidget.svelte @@ -67,11 +67,11 @@ updateUrl({ text: trimmedText }); } - const chat = [ - { role: "user", content: "Hello, how are you?" }, - { role: "assistant", content: "I'm doing great. How can I help you today?" }, - { role: "user", content: "I'd like to show off how chat templating works!" }, - ]; + // const chat = [ + // { role: "user", content: "Hello, how are you?" }, + // { role: "assistant", content: "I'm doing great. How can I help you today?" }, + // { role: "user", content: "I'd like to show off how chat templating works!" }, + // ]; const chatTemplate = model.config?.tokenizer?.chat_template; if (chatTemplate === undefined) { outputJson = "";