You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use Google Palm llm for the data agent tasks, but when i tried to use this palm model I'm getting below error. Can you please guide on this?.
Also, is there any plan to add google vertexAI or Google Palm options in the model selection with Openagents?
Retrying langchain.chat_models.google_palm.chat_with_retry.._chat_with_retry in 2.0 seconds as it raised InvalidArgument: 400 * GenerateMessageRequest.prompt.messages[5].content: message must include non empty content
.
Retrying langchain.chat_models.google_palm.chat_with_retry.._chat_with_retry in 4.0 seconds as it raised InvalidArgument: 400 * GenerateMessageRequest.prompt.messages[5].content: message must include non empty content
Sample code from language_model.py file: from langchain.chat_models.google_palm import ChatGooglePalm llm_name == "GooglePalm": return ChatGooglePalm( model_name="models/text-bison-001", streaming=True, verbose=True, **kwargs )
The text was updated successfully, but these errors were encountered:
Hi, thanks for your question and suggestion! We are planning to update the models list these days, would you like to also contribute that? If so, you can raise a pr with the original code and we can add this feature together!
hello,
I'm trying to use Google Palm llm for the data agent tasks, but when i tried to use this palm model I'm getting below error. Can you please guide on this?.
Also, is there any plan to add google vertexAI or Google Palm options in the model selection with Openagents?
Retrying langchain.chat_models.google_palm.chat_with_retry.._chat_with_retry in 2.0 seconds as it raised InvalidArgument: 400 * GenerateMessageRequest.prompt.messages[5].content: message must include non empty content
.
Retrying langchain.chat_models.google_palm.chat_with_retry.._chat_with_retry in 4.0 seconds as it raised InvalidArgument: 400 * GenerateMessageRequest.prompt.messages[5].content: message must include non empty content
Sample code from language_model.py file:
from langchain.chat_models.google_palm import ChatGooglePalm llm_name == "GooglePalm": return ChatGooglePalm( model_name="models/text-bison-001", streaming=True, verbose=True, **kwargs )
The text was updated successfully, but these errors were encountered: