khoj/tests
Debanjum Singh Solanky 131b8407b5 Allow Khoj Chat to respond to general queries not in reference notes
- Khoj chat will now respond to general queries if:
  1. no relevant reference notes available or
  2. when explicitly induced by prefixing the chat message with "@general"

- Previously Khoj Chat would a lot of times refuse to respond to
  general queries not answerable from reference notes or chat history

- Make chat quality tests more robust
  - Add more equivalent chat response options refusing to answer
  - Force haiku writing to not give any preable, just the haiku
2023-05-12 18:42:40 +08:00
..
data Create test notes dataset for chat testing 2023-03-16 09:30:37 -06:00
__init__.py Move tests out to project root. Use absolute import in project 2021-09-30 04:12:14 -07:00
conftest.py Setup Pytest fixture for conversation processor to test chat API 2023-03-16 09:30:37 -06:00
test_beancount_to_jsonl.py Use Black to format Khoj server code and tests 2023-02-17 11:55:17 -06:00
test_chat_actors.py Allow Khoj Chat to respond to general queries not in reference notes 2023-05-12 18:42:40 +08:00
test_chat_director.py Allow Khoj Chat to respond to general queries not in reference notes 2023-05-12 18:42:40 +08:00
test_cli.py Read content plugin configs from Khoj config YAML 2023-02-23 23:57:32 -06:00
test_client.py Fix configuring search types & /config/types API when no plugin configured 2023-03-01 01:23:37 -06:00
test_date_filter.py Test usage of = in date filter queries 2023-03-16 14:52:59 -06:00
test_file_filter.py Use Black to format Khoj server code and tests 2023-02-17 11:55:17 -06:00
test_helpers.py Use Black to format Khoj server code and tests 2023-02-17 11:55:17 -06:00
test_image_search.py Use Black to format Khoj server code and tests 2023-02-17 11:55:17 -06:00
test_jsonl_to_jsonl.py Prepend entry heading to all compiled org snippets to improve search context 2023-05-03 22:50:31 +08:00
test_markdown_to_jsonl.py Set filename as top heading of md entries for better search context 2023-05-03 22:50:31 +08:00
test_org_to_jsonl.py Set filename as top heading of org entries for better search context 2023-05-03 22:53:13 +08:00
test_orgnode.py Index intro text before headings in org files 2023-03-01 12:11:33 -06:00
test_rawconfig.py Test error on missing fields in ContentConfig pulled from Khoj.yml 2023-03-02 15:35:39 -06:00
test_text_search.py Test text search index only updates on changes to text content 2023-05-12 17:37:34 +08:00
test_word_filter.py Use Black to format Khoj server code and tests 2023-02-17 11:55:17 -06:00