Skip to content

Commit 4a62989

Browse files
committed
docs: load from_json()
1 parent c292153 commit 4a62989

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@ import fs from "fs";
3838

3939
// Or load from JSON data
4040
const jsonData = {
41-
name: "Example Character",
42-
description: "A friendly AI assistant",
43-
// ... other character properties
41+
// character data, support v1/v2/v3 format
4442
};
4543
const jsonCard = CharacterCard.from_json(jsonData);
4644

0 commit comments

Comments
 (0)