Replace the raw Ollama fetch-based OCR with the Vercel AI SDK, adding support for OpenAI, Google Gemini, Anthropic, and Ollama as selectable providers from the Settings page. Uses generateText with Output.object() and Zod schemas for type-safe structured data extraction. Made-with: Cursor |
||
|---|---|---|
| .. | ||
| schema.prisma | ||