|
|
@@ -0,0 +1,18 @@
|
|
|
+# --media-path /Users/zhch158/workspace # 设置基础目录
|
|
|
+# {"url": "file://test_ocr_image.png"} # 相对于基础目录的相对路径
|
|
|
+curl http://127.0.0.1:8103/v1/chat/completions \
|
|
|
+ -H "Content-Type: application/json" \
|
|
|
+ -d '{
|
|
|
+ "model": "MinerU2.5-Pro-2604-1.2B",
|
|
|
+ "messages": [
|
|
|
+ {
|
|
|
+ "role": "user",
|
|
|
+ "content": [
|
|
|
+ {"type": "text", "text": "Table Recognition:"},
|
|
|
+ {"type": "image_url", "image_url": {"url": "file://repository.git/ocr_platform/ocr_tools/daemons/curl_local_img.png"}}
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "max_tokens": 16384,
|
|
|
+ "temperature": 0.1
|
|
|
+ }'
|