mirror of
https://github.com/rickbarrette/simple-aircraft-manager-rails.git
synced 2026-11-17 23:50:36 -05:00
Search inside documents: PDF text, Tesseract OCR for scans (in the image), optional Claude; nightly catch-up
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
2953b9a18d
commit
08ba017c7e
14 files changed
+271
-6
No files matched your search
@@ -0,0 +1,9 @@
|
||||
class AddPagesTextToDocuments < ActiveRecord::Migration[8.1]
|
||||
def change
|
||||
# Text read from the document's pages, for search (derived, not a record).
|
||||
add_column :documents, :pages_text, :text
|
||||
add_column :documents, :pages_text_method, :string # text | ocr | claude | none
|
||||
add_column :documents, :pages_text_source, :string # the page files it was read from
|
||||
add_column :documents, :pages_text_at, :datetime
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user