Skip to content

Commit

Permalink
Update integration_anthropic_pdf.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
jacoblee93 authored Jan 18, 2025
1 parent 02c7e8c commit 5cdddf3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/src/models/chat/integration_anthropic_pdf.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import { ChatAnthropic } from "@langchain/anthropic";

import * as fs from "fs";

export const run = async () => {
const llm = new ChatAnthropic({
model: "claude-3-5-sonnet-20240620", // Only claude-3-5-sonnet-20240620 , claude-3-5-sonnet-20241022 as of Jan 2025 support PDF documents as in base64
Expand Down

0 comments on commit 5cdddf3

Please sign in to comment.