İçeriğe geç
YENİPazar yeri ve trig8n Agent: geliştirdiğinizi satın; planlar ve değişiklikler siz görmeden önce test edilsin. Yeniliklere bak

Kütüphane / Belgeler, PDF ve OCR

Belgeler, PDF ve OCR

Google Drive'daki PDF verilerini Claude ve Gemini ile yan yana çıkar

Manuel tetikleyiciyle çalışır. Google Drive'dan bir PDF indirir, base64'e dönüştürür ve çıkarım sonuçlarını, gecikmeyi ve maliyeti karşılaştırmak için Claude 3.5 Sonnet ve Gemini 2.0 Flash'a gönderir.

Ne yapar

## Workflow: Extract data from PDF with Claude 3.5 Sonnet or Gemini 2.0 Flash Overview - This workflow helps you compare Claude 3.5 Sonnet and Gemini 2.0 Flash when extracting data from a PDF - This workflow extracts and processes the data within a PDF in one single step, instead of calling an OCR and then an LLM” How it works - The initial 2 steps download the PDF and convert it to base64. - This base64 string is then sent to both Claude 3.5 Sonnet and Gemini 2.0 Flash to extract information. - This workflow is made to let you compare results, latency, and cost (in their dedicated dashboard). How to use it - Set up your Google Drive if not already done - Select a document on your Google Drive - Modify the prompt in "Define Prompt" to extract the information you need and transform it as wanted. - Get a [Claude API key]({{ $env.WEBHOOK_URL }} and/or [Gemini API key]({{ $env.API_BASE_URL }} - Note that you can deactivate one of the 2 API calls if you don't want to try both - Test the Workflow

Adımlar

  1. When clicking 'Test workflow'
  2. Extract from File
  3. Google Drive
  4. Call Gemini 2.0 Flash with PDF Capabilities
  5. Call Claude 3.5 Sonnet with PDF Capabilities
  6. Define Prompt

Benzer otomasyonlar