initial commit
This commit is contained in:
18
test_pdf_payload.json
Normal file
18
test_pdf_payload.json
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"model": "claude-sonnet-4-5",
|
||||
"messages": [{
|
||||
"role": "user",
|
||||
"content": [
|
||||
{"type": "text", "text": "What does this document contain?"},
|
||||
{
|
||||
"type": "document",
|
||||
"source": {
|
||||
"type": "base64",
|
||||
"media_type": "application/pdf",
|
||||
"data": "JVBERi0xLgoxIDAgb2JqPDwvUGFnZXMgMiAwIFI+PmVuZG9iagoyIDAgb2JqPDwvS2lkc1szIDAgUl0vQ291bnQgMT4+ZW5kb2JqCjMgMCBvYmo8PC9QYXJlbnQgMiAwIFI+PmVuZG9iagp0cmFpbGVyPDwvUm9vdCAxIDAgUj4+Cg=="
|
||||
}
|
||||
}
|
||||
]
|
||||
}],
|
||||
"max_tokens": 100
|
||||
}
|
||||
Reference in New Issue
Block a user