Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/baidu/Unlimited-OCR
/ build_content
Function
build_content
infer.py:73–74 ·
view source on GitHub ↗
(image_path: str)
Source
from the content-addressed store, hash-verified
71
72
73
def
build_content(image_path: str) -> list[dict]:
74
return
[{
"type"
:
"text"
,
"text"
: PROMPT}, encode_image(image_path)]
75
76
77
def
server_ready(server_url: str) -> bool:
Callers
1
infer_one
Function · 0.85
Calls
1
encode_image
Function · 0.85
Tested by
no test coverage detected