Closed k33g closed 4 months ago
It appears this is a bug report against Chrome, not related to this explainer. For that, please use https://crbug.new.
https://github.com/explainers-by-googlers/prompt-api/blob/main/chrome-implementation-differences.md is also worth reading.
Thank you @domenic for your answer and the link 🙏
It looks like system
systemPrompt
andinitialPrompts
are not considered for the generation of completion. Perhaps, I missed something, but I don't know what.I tried this with
initialPrompts
:This is the answer:
I tried this with
systemPrompt
:The answer is similar:
I tried this with all the text as an argument of the prompt method:
Then, the answer is what I expexted: