langchain
langchain copied to clipboard
1 line me error
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.
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
What's the solutions in step by step please