Open Sahil-Bhoite opened 2 months ago
Google PaLM (Pathways Language Model) is deprecated. As of August 15, 2024, Google has decommissioned the PaLM API. You can no longer use PaLM models for new prompts, tuning, or inference. Instead you can use gemini.
I've already created a repo for the same app using gemini api. Here's the link: https://github.com/naniram/End-to-End-Youtube-Video-Query-GenAI-Application
Issue with Google Palm Embeddings in Langchain: "NotFound: 404 Requested entity was not found" Description:
I'm currently working on a project using Langchain with Google Palm embeddings. However, I'm encountering repeated errors where the embedding process fails with a NotFound: 404 Requested entity was not found error. The error message indicates that it is retrying, increasing the delay between attempts, but it never succeeds.
Here is a snippet of the error log: Retrying langchain_community.embeddings.google_palm.embed_with_retry.._embed_with_retry in 2.0 seconds as it raised NotFound: 404 Requested entity was not found.. Retrying langchain_community.embeddings.google_palm.embed_with_retry.._embed_with_retry in 4.0 seconds as it raised NotFound: 404 Requested entity was not found.. Retrying langchain_community.embeddings.google_palm.embed_with_retry.._embed_with_retry in 8.0 seconds as it raised NotFound: 404 Requested entity was not found.. Retrying langchain_community.embeddings.google_palm.embed_with_retry.._embed_with_retry in 16.0 seconds as it raised NotFound: 404 Requested entity was not found.. Retrying langchain_community.embeddings.google_palm.embed_with_retry.._embed_with_retry in 32.0 seconds as it raised NotFound: 404 Requested entity was not found..