Skip to content

Commit 03e9331

Browse files
committed
feat/mul
1 parent baaa430 commit 03e9331

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

examples/prompt/multipart/prompt_hub_multipart.go

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -81,16 +81,6 @@ func main() {
8181
messages, err := llmRunner.client.PromptFormat(ctx, prompt, map[string]any{
8282
"num": "2",
8383
"count": 10,
84-
"format": map[string]interface{}{
85-
"image1": map[string]interface{}{
86-
"content1": "",
87-
"content2": "",
88-
},
89-
"image2": map[string]interface{}{
90-
"content1": "",
91-
"content2": "",
92-
},
93-
},
9484
"im1": []*entity.ContentPart{
9585
{
9686
Type: entity.ContentTypeText,
@@ -102,12 +92,6 @@ func main() {
10292
URL: imageURL,
10393
},
10494
},
105-
{
106-
Type: entity.ContentTypeImageURL,
107-
},
108-
{
109-
Type: entity.ContentTypeText,
110-
},
11195
},
11296
})
11397
if err != nil {

0 commit comments

Comments
 (0)