From 93dc99159b3285415a5d4642510272d15f1a0bf5 Mon Sep 17 00:00:00 2001 From: ucev Date: Sat, 11 Jan 2025 21:49:14 +0800 Subject: [PATCH 1/2] fix: 7476 --- .../core_docs/docs/integrations/llms/huggingface_inference.mdx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/core_docs/docs/integrations/llms/huggingface_inference.mdx b/docs/core_docs/docs/integrations/llms/huggingface_inference.mdx index 0ac556b43f0e..06b8fbbad3e4 100644 --- a/docs/core_docs/docs/integrations/llms/huggingface_inference.mdx +++ b/docs/core_docs/docs/integrations/llms/huggingface_inference.mdx @@ -11,7 +11,7 @@ import UnifiedModelParamsTooltip from "@mdx_components/unified_model_params_tool ```typescript -import { HuggingFaceInference } from "langchain/llms/hf"; +import { HuggingFaceInference } from "@langchain/community/llms/hf"; const model = new HuggingFaceInference({ model: "gpt2", @@ -25,3 +25,4 @@ console.log({ res }); - LLM [conceptual guide](/docs/concepts/text_llms) - LLM [how-to guides](/docs/how_to/#llms) +F \ No newline at end of file From 8b1497afd093b5105ec072c8385bb2c709cbffc1 Mon Sep 17 00:00:00 2001 From: Jacob Lee Date: Sat, 11 Jan 2025 09:44:18 -0800 Subject: [PATCH 2/2] Update huggingface_inference.mdx --- docs/core_docs/docs/integrations/llms/huggingface_inference.mdx | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/core_docs/docs/integrations/llms/huggingface_inference.mdx b/docs/core_docs/docs/integrations/llms/huggingface_inference.mdx index 06b8fbbad3e4..020e4e9c8011 100644 --- a/docs/core_docs/docs/integrations/llms/huggingface_inference.mdx +++ b/docs/core_docs/docs/integrations/llms/huggingface_inference.mdx @@ -25,4 +25,3 @@ console.log({ res }); - LLM [conceptual guide](/docs/concepts/text_llms) - LLM [how-to guides](/docs/how_to/#llms) -F \ No newline at end of file