khoj/tests
Debanjum Singh Solanky 7e36f421f9 Truncate message logs to below max supported prompt size by model
- Use tiktoken to count tokens for chat models
- Make conversation turns to add to prompt configurable via method
  argument to generate_chatml_messages_with_context method
2023-03-25 05:13:56 +07: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 Update Chat API, Logs, Interfaces to store, use references as list 2023-03-24 22:10:11 +07:00
test_chat_director.py Truncate message logs to below max supported prompt size by model 2023-03-25 05:13:56 +07: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 Add processor to index entries from jsonl files for plugins 2023-02-24 02:54:12 -06:00
test_markdown_to_jsonl.py Use Black to format Khoj server code and tests 2023-02-17 11:55:17 -06:00
test_org_to_jsonl.py Index intro text before headings in org files 2023-03-01 12:11:33 -06: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 Output date filter from cache log at debug level. Remove unused imports 2023-03-02 15:41:32 -06:00
test_word_filter.py Use Black to format Khoj server code and tests 2023-02-17 11:55:17 -06:00