Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
AdvaitKale01 opened this issue Feb 25, 2024 · 0 comments

Comments

@AdvaitKale01
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant