Skip to content

How do i add system instructions to GoogleAIGeminiGenerator or GoogleAIGeminiChatGenerator #8687

Answered by Amnah199
JanB1989 asked this question in Questions
Discussion options

You must be logged in to vote

Hi @JanB1989, this error might be arising due to an older version of Haystack installed. We recently refactored ChatMessage data class to include text variable.
I would recommend installing latest version of haystack. You can also use simple commands like:

# check current haystack version 
pip list | grep haystack-ai

# install latest haystack version 
pip install -U haystack-ai

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by JanB1989
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants