langchain icon indicating copy to clipboard operation
langchain copied to clipboard

1 line me error

Open ritik7545 opened this issue 1 year ago • 2 comments

from langchain.llms import GooglePalm

api_key = 'add your api please'

llm = GooglePalm(google_api_key=api_key, temperature=0.2) llm("write a poem on dhosa")

NotFound: 404 Requested entity was not found.

ritik7545 avatar Sep 13 '24 07:09 ritik7545

The error you're encountering is due to the withdrawal of Google PaLM by Google, which has been replaced by the Gemini model for API calls

swaty06 avatar Sep 16 '24 12:09 swaty06

What's the solutions in step by step please

ggHimanshu avatar Nov 26 '24 13:11 ggHimanshu