mirror of
https://github.com/langchain-ai/langsmith-docs.git
synced 2026-08-27 01:41:19 -04:00
EU user not able to retrieve a prompt from hub : "404 Client Error: Not Found for url" #34
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @DavidPautet on GitHub (Nov 12, 2024).
Hi,
I have linked my account to the EU datacenter. I am trying to implement a RAG using this official tutorial:
https://python.langchain.com/docs/tutorials/rag/
As explained in the documentation I am using (on top of the mandatory
LANGCHAIN_API_KEYvariable):LANGCHAIN_ENDPOINT="https://eu.api.smith.langchain.com/"The issue I have is related to this line of code extracted from the tutorial:
prompt = hub.pull("rlm/rag-prompt")When trying to execute my JupyterLab Notebook I am getting:
I have restarted the kernel and removed the
LANGCHAIN_ENDPOINTvariable and I am just having a 403 (seems to be logical because my user is not granted on the US data centre) but no more 404...Here are my questions:
Thanks for your help.
David
@hinthornw commented on GitHub (Nov 13, 2024):
@DavidPautet , the prmopt
"rlm/rag-prompt"lives in the US instance. You'll have to pull from that one for now. Since it's public, you do not need to make an API key or US account.If you want to keep your envirnoment pointed to your EU account, you can create a US-linked client like this: