khoj/tests
Raghav Tirumale 8eccd8a5e4
Support Indexing Images via OCR (#823)
- Added support for uploading .jpeg, .jpg, and .png files to Khoj from Web, Desktop app
- Updating indexer to generate raw text and entries using RapidOCR
- Details
  * added support for indexing images via ocr
  * fixed pyproject.toml
  * Update src/khoj/processor/content/images/image_to_entries.py
     Co-authored-by: Debanjum <debanjum@gmail.com>
  * Update src/khoj/processor/content/images/image_to_entries.py
     Co-authored-by: Debanjum <debanjum@gmail.com>
  * removed redudant try except blocks
  * updated desktop js file to support image formats
  * added tests for jpg and png
  * Fix processing for image to entries files
  * Update unit tests with working image indexer
  * Change png test from version verificaition to open-cv verification

---------

Co-authored-by: Debanjum <debanjum@gmail.com>
Co-authored-by: sabaimran <narmiabas@gmail.com>
2024-07-01 06:00:00 -07:00
..
data Support Indexing Images via OCR (#823) 2024-07-01 06:00:00 -07:00
__init__.py Move tests out to project root. Use absolute import in project 2021-09-30 04:12:14 -07:00
conftest.py Spell fix s/e.g/e.g./ across code, tests and docs 2024-06-24 15:24:45 +05:30
helpers.py Add Ability to Summarize Documents (#800) 2024-06-18 19:31:07 +05:30
test_cli.py Add isort to the pre-commit configuration and apply it to the whole project (#595) 2023-12-28 18:04:02 +05:30
test_client.py Support Indexing Docx Files (#801) 2024-06-20 11:18:01 +05:30
test_conversation_utils.py Update truncation test to reduce flakyness in cloud tests 2024-06-07 19:42:48 +05:30
test_date_filter.py Improve date filter regexes to extract structured, natural, partial dates 2024-03-30 00:07:19 +05:30
test_db_lock.py Add tests for the db lock 2024-04-17 13:22:41 +05:30
test_docx_to_entries.py Upgrade RapidOCR and enable for Python 3.12. Fix PDF OCR test 2024-06-22 16:01:55 +05:30
test_file_filter.py [Multi-User Part 1]: Enable storage of settings for plaintext files based on user account (#498) 2023-10-26 09:42:29 -07:00
test_helpers.py Part 2: Add web UI updates for basic agent interactions (#675) 2024-03-26 18:13:24 +05:30
test_image_to_entries.py Support Indexing Images via OCR (#823) 2024-07-01 06:00:00 -07:00
test_markdown_to_entries.py Add Ability to Summarize Documents (#800) 2024-06-18 19:31:07 +05:30
test_multiple_users.py Increase search distance to get relevant content for chat post indexer update 2024-04-04 02:41:55 +05:30
test_offline_chat_actors.py Fix offline chat actor tests 2024-04-24 09:40:00 +05:30
test_offline_chat_director.py Add Ability to Summarize Documents (#800) 2024-06-18 19:31:07 +05:30
test_openai_chat_actors.py Fix openai chat actor, director tests 2024-06-09 07:24:47 +05:30
test_openai_chat_director.py Add Ability to Summarize Documents (#800) 2024-06-18 19:31:07 +05:30
test_org_to_entries.py Add Ability to Summarize Documents (#800) 2024-06-18 19:31:07 +05:30
test_orgnode.py Add isort to the pre-commit configuration and apply it to the whole project (#595) 2023-12-28 18:04:02 +05:30
test_pdf_to_entries.py Upgrade RapidOCR and enable for Python 3.12. Fix PDF OCR test 2024-06-22 16:01:55 +05:30
test_plaintext_to_entries.py Add Ability to Summarize Documents (#800) 2024-06-18 19:31:07 +05:30
test_text_search.py Fix all unit tests for test_text_search 2024-04-04 02:41:55 +05:30
test_word_filter.py Fix test word filter 2023-11-19 13:14:58 -08:00