flutter_gemini icon indicating copy to clipboard operation
flutter_gemini copied to clipboard

Need information on Prompt engineering (System message) and not access to internet.

Open AdvaitKale01 opened this issue 1 year ago • 0 comments

So I wanted to discuss on 2 things-

  1. How can I define a system prompt or basic prompt engineering to the chat conversation? What are the role types? Like is there a system role for this? Example- Content(parts: [Parts(text: 'You are a helpful assistant who gives accurate answers to world history questions.'], role: 'system')

  2. I have used the turn based chat type. And the model does not have access to internet. I am assuming model might be PALM. If I explicitly specify modelName:'gemini-1.0-pro' then I get no response.

AdvaitKale01 avatar Feb 25 '24 11:02 AdvaitKale01