doc link: https://js.langchain.com/v0.2/docs/tutorials/rag/ Bug title: Issue in the Section 5 '5. Retrieval and Generation: Generate' #6643
Labels
auto:bug
Related to a bug, vulnerability, unexpected error with an existing feature
Checklist
Issue with current documentation:
If I replace this code:
import { ChatPromptTemplate } from "@langchain/core/prompts";
import { pull } from "langchain/hub";
const prompt = await pull("rlm/rag-prompt");
Error
With this code:
import * as hub from "langchain/hub";
const prompt = await hub.pull("rlm/rag-prompt");
Everything works fine.
Idea or request for content:
No response
The text was updated successfully, but these errors were encountered: