khoj/tests
Debanjum 2a76c69d0d Run online, offine chat actor, director tests for any supported provider
- Previously online chat actors, director tests only worked with openai.
  This change allows running them for any supported onlnie provider
  including Google, Anthropic and Openai.

- Enable online/offline chat actor, director in two ways:
  1. Explicitly setting KHOJ_TEST_CHAT_PROVIDER environment variable to
     google, anthropic, openai, offline
  2. Implicitly by the first API key found from openai, google or anthropic.

- Default offline chat provider to use Llama 3.1 3B for faster, lower
  compute test runs
2024-11-18 15:11:37 -08:00
..
data Support Indexing Images via OCR (#823) 2024-07-01 06:00:00 -07:00
evals Fix github workflow to start Khoj, connect to PG and upload results 2024-11-18 04:25:15 -08:00
__init__.py Move tests out to project root. Use absolute import in project 2021-09-30 04:12:14 -07:00
conftest.py Run online, offine chat actor, director tests for any supported provider 2024-11-18 15:11:37 -08:00
helpers.py Run online, offine chat actor, director tests for any supported provider 2024-11-18 15:11:37 -08:00
test_agents.py Add unit tests for agents 2024-10-20 20:04:50 -07:00
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 Do not CRUD on entries, files & conversations in DB for null user 2024-11-11 12:20:07 -08:00
test_conversation_utils.py Default to gpt-4o-mini instead of gpt-3.5-turbo in tests, func args 2024-08-22 19:04:49 -07:00
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 Update test_db_lock with new function name 2024-08-08 13:03:01 +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 Support exclusion file filters (#826) 2024-08-12 05:41:54 -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 Split /api/v1/index/update into /api/content PUT, PATCH API endpoints 2024-07-19 01:45:53 +05:30
test_offline_chat_actors.py Run online, offine chat actor, director tests for any supported provider 2024-11-18 15:11:37 -08:00
test_offline_chat_director.py Run online, offine chat actor, director tests for any supported provider 2024-11-18 15:11:37 -08:00
test_online_chat_actors.py Run online, offine chat actor, director tests for any supported provider 2024-11-18 15:11:37 -08:00
test_online_chat_director.py Run online, offine chat actor, director tests for any supported provider 2024-11-18 15:11:37 -08:00
test_org_to_entries.py Split current section once by heading to resolve org-mode indexing bug 2024-07-06 19:35:59 +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 Fix PDFs unit test, skip OCR 2024-10-20 22:25:41 -07:00
test_plaintext_to_entries.py Add Ability to Summarize Documents (#800) 2024-06-18 19:31:07 +05:30
test_text_search.py Reorder embeddings search arguments based on argument importance 2024-10-10 04:45:00 -07:00
test_word_filter.py Fix test word filter 2023-11-19 13:14:58 -08:00