تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

docstrange

بواسطة shhdwi

Personal Development
2.9kالتنزيلات وفق ما يذكره clawskills.sh
21النجوم
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Document extraction API by Nanonets.

الوصف

ما الذي تفعله هذه المهارة

DocStrange is a document extraction API by Nanonets. It converts PDFs and images to markdown, JSON, or CSV, returning per-field confidence scores for each extracted value.

Per-field confidence scores (0-100) let you automatically flag uncertain extractions for manual review rather than trusting all output blindly.

متى تستخدمها

  • Extracting invoice fields from supplier PDFs
  • Parsing receipts for expense reports
  • Converting scanned bank statements to structured data
  • Digitizing paper forms into JSON
  • OCR-ing printed documents for search indexing

مثال على سير العمل

الإدخال

User asks: Extract the invoice number, date, vendor, and total from this invoice PDF

الوكيل
  1. 1

    Receives the PDF file path from the user

  2. 2

    Sends a POST request to /api/v1/extract/sync with output_format=json and field list ["invoice_number", "date", "vendor", "total"]

  3. 3

    Adds include_metadata=confidence_score to the request

  4. 4

    Parses the response and flags any field with a confidence score below 80 for manual review

الإخراج

JSON object with invoice_number, date, vendor, and total values, each annotated with a 0-100 confidence score

المتطلبات

  • Nanonets DocStrange account
  • DOCSTRANGE_API_KEY environment variable

التثبيت

clawhub install shhdwi/docstrange

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط