kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
Update demo-conversation.ts
rodzic
df94c61313
commit
8012354411
|
@ -26,7 +26,7 @@ async function main() {
|
||||||
|
|
||||||
console.log(response)
|
console.log(response)
|
||||||
|
|
||||||
const prompt2 = 'Continue'
|
const prompt2 = 'Did they made OpenGPT?'
|
||||||
|
|
||||||
console.log(
|
console.log(
|
||||||
await oraPromise(conversation.sendMessage(prompt2), {
|
await oraPromise(conversation.sendMessage(prompt2), {
|
||||||
|
@ -34,9 +34,19 @@ async function main() {
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
|
||||||
|
const prompt3 = 'Who founded this institute?'
|
||||||
|
|
||||||
console.log(
|
console.log(
|
||||||
await oraPromise(conversation.sendMessage(prompt2), {
|
await oraPromise(conversation.sendMessage(prompt3), {
|
||||||
text: prompt2
|
text: prompt3
|
||||||
|
})
|
||||||
|
)
|
||||||
|
|
||||||
|
const prompt4 = 'Who is that?'
|
||||||
|
|
||||||
|
console.log(
|
||||||
|
await oraPromise(conversation.sendMessage(prompt4), {
|
||||||
|
text: prompt4
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue