mirror of
https://github.com/MervinPraison/PraisonAI.git
synced 2026-11-08 01:08:39 -10:00
7 lines
203 B
Python
7 lines
203 B
Python
# praisonai: skip=true
|
|
from praisonaiagents import OCRAgent
|
|
|
|
agent = OCRAgent(llm="mistral/mistral-ocr-latest")
|
|
text = agent.read("https://arxiv.org/pdf/2201.04234")
|
|
print(text[:500]) # First 500 chars
|