From 548a163c102bd5321a32daf4284a18bfae2a9ba8 Mon Sep 17 00:00:00 2001 From: simon3000 Date: Tue, 6 Dec 2022 16:35:57 +0100 Subject: [PATCH] Update demo-conversation.ts --- legacy/src/demo-conversation.ts | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/legacy/src/demo-conversation.ts b/legacy/src/demo-conversation.ts index cd02b0b9..c0199b82 100644 --- a/legacy/src/demo-conversation.ts +++ b/legacy/src/demo-conversation.ts @@ -26,7 +26,7 @@ async function main() { console.log(response) - const prompt2 = 'Continue' + const prompt2 = 'Did they made OpenGPT?' console.log( await oraPromise(conversation.sendMessage(prompt2), { @@ -34,9 +34,19 @@ async function main() { }) ) + const prompt3 = 'Who founded this institute?' + console.log( - await oraPromise(conversation.sendMessage(prompt2), { - text: prompt2 + await oraPromise(conversation.sendMessage(prompt3), { + text: prompt3 + }) + ) + + const prompt4 = 'Who is that?' + + console.log( + await oraPromise(conversation.sendMessage(prompt4), { + text: prompt4 }) ) }