-
I simply do not understand how this is done. Docs say with vertexai you can set system instruction at generator instantiation. But this does not work for GoogleAIGeminiGenerator or GoogleAIGeminiChatGenerator. Why is it checking for text in the system message? Shouldnt it be checking for .content?
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @JanB1989, this error might be arising due to an older version of Haystack installed. We recently refactored
|
Beta Was this translation helpful? Give feedback.
-
Just to clarify, this is the new synthax (text instead of content).
|
Beta Was this translation helpful? Give feedback.
Hi @JanB1989, this error might be arising due to an older version of Haystack installed. We recently refactored
ChatMessage
data class to includetext
variable.I would recommend installing latest version of haystack. You can also use simple commands like: