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
System Instructions for Gemini 1.0? #328
Comments
Hello, I tried with 1.5-pro, I get a different error. |
System Instructions are introduced in Gemini 1.5 pro and will not work with Gemini 1.0 pro model. I tried running my attached gist with system instructions and it works without any issues. Please try running the gist and share with us the colab gist or code to reproduce the error you are facing on our end. Thank you! |
you know what, I closed my notebook, spent sometime off, then restarted the
same notebook, same code, same 1.0 model, and RAG worked - basically the
prompt has detailed instructions for the LLM and it also does interleaved
question & answer.
I did not make any change to the code, but it worked fine with
gemin-1.0-pro.
I will try again tomorrow - if it throws error, I will post the code, the
error message in the issue that I created.
thanks
…On Wed, 8 May 2024 at 18:05, Niraj Singh ***@***.***> wrote:
@annamalaiarunachalam <https://github.com/annamalaiarunachalam>,
System Instructions are introduced in Gemini 1.5 pro and will not work
with Gemini 1.0 pro model. I tried running my attached gist
<https://colab.research.google.com/gist/singhniraj08/3aca51edf1e069c2955d4eb5cba2b9d8/genai_systemsettings_278.ipynb>
with system instructions and it works without any issues. Please try
running the gist and share with us the colab gist or code to reproduce the
error you are facing on our end. Thank you!
—
Reply to this email directly, view it on GitHub
<#328 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALS6KGFNCTXFC6G5JCAR2M3ZBH2FTAVCNFSM6AAAAABHMTFNNGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBQGIZDGNJQHA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Gemini 1.5 pro
only as I am unable to see this feature while using Gemini 1.0
pro model on AI studio. We will keep you posted if this feature gets introduced to Gemini 1.0. Meanwhile, You can keep using for Gemini 1.5 pro. If this issue is resolved for you, you can go ahead and close this issue. Thank you
@annamalaiarunachalam, The error might be an intermittent issue. Requesting you to close this issue, it it's resolved for you. Thank you! |
The new gemini-1.5-flash model is cheaper and faster than gemini-1.5-pro, flash supports system instructions. Use flash. |
Hello, I tried with 1.5-pro, I get a different error.
ValueError Traceback (most recent call last).....................................................
...............................
GoogleGenerativeAIError: Error embedding content: content must not be empty
if I use 1.0 I get the above error raised by the original thread. If I change to 1.5, get this error. But I didnt get any error when I used OpenAI's chat model. Why is Google's API's so annoying. You guys keen to gain more adoption, but the experience sucks. Just the other day, Google Architect, almost forced me to move away from openAi models, how can I do that? how to trust these unreliable google models.
even the embedding model is not good. Please reply to the error msg reported above.
Originally posted by @annamalaiarunachalam in #278 (comment)
The text was updated successfully, but these errors were encountered: