Skip to content

Commit 25f2752

Browse files
authored
JS: add mime_type to JavaScript image content examples (#2363)
1 parent 393b6b0 commit 25f2752

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/oss/langchain/messages.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1003,6 +1003,7 @@ for your chosen model for specifics.
10031003
{
10041004
type: "image",
10051005
source_type: "base64",
1006+
mime_type: "image/jpeg",
10061007
data: "AAAAIGZ0eXBtcDQyAAAAAGlzb21tcDQyAAACAGlzb2...",
10071008
},
10081009
],

0 commit comments

Comments
 (0)