Skip to content

Commit fb5671c

Browse files
authored
Merge pull request #2 from MFB-Technologies-Inc/add-claude37
Add claude37
2 parents d3c12bf + 9443564 commit fb5671c

File tree

5 files changed

+769
-807
lines changed

5 files changed

+769
-807
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changes
22

3+
## 1.1
4+
5+
- Add support for Claude 3.7
6+
37
## 1.0
48

59
- Initial release

examples/simpleResponse.ts

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { buildGeminiLlm, buildLlamaLlm } from "../src/index.js"
1+
import { buildAnthrophicLlm } from "../src/index.js"
22
import dotenv from "dotenv"
33

44
dotenv.config()
@@ -9,7 +9,10 @@ dotenv.config()
99
// region: "us-east-1"
1010
// })
1111

12-
const model = buildGeminiLlm("gemini-2.0-flash", varOrThrow("GEMINI_KEY"))
12+
const model = buildAnthrophicLlm(
13+
"claude-3-7-sonnet-20250219",
14+
varOrThrow("ANTHROPIC_KEY")
15+
)
1316

1417
const instructions = "Your response must be in the form of a rhyming couplet"
1518

0 commit comments

Comments
 (0)