Skip to content

Commit

Permalink
docs: updates text-to-html example (#7373)
Browse files Browse the repository at this point in the history
  • Loading branch information
philnash authored Dec 16, 2024
1 parent e30779b commit 715ef37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/src/document_transformers/html_to_text.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { CheerioWebBaseLoader } from "@langchain/community/document_loaders/web/cheerio";
import { HTMLWebBaseLoader } from "@langchain/community/document_loaders/web/html";
import { RecursiveCharacterTextSplitter } from "@langchain/textsplitters";
import { HtmlToTextTransformer } from "@langchain/community/document_transformers/html_to_text";

const loader = new CheerioWebBaseLoader(
const loader = new HTMLWebBaseLoader(
"https://news.ycombinator.com/item?id=34817881"
);

Expand Down

0 comments on commit 715ef37

Please sign in to comment.