khoj/tests
sabaimran b45e1d8c0d
Fix plaintext HTML parsing and rendering (#464)
* Store conversation command options in an Enum
* Move to slash commands instead of using @ to specify general commands
* Calculate conversation command once & pass it as arg to child funcs
* Add /notes command to respond using only knowledge base as context
This prevents the chat model to try respond using it's general world
knowledge only without any references pulled from the indexed
knowledge base
* Test general and notes slash commands in openai chat director tests
---------

Co-authored-by: Debanjum Singh Solanky <debanjum@gmail.com>
2023-08-27 11:24:30 -07:00
..
data Fix plaintext HTML parsing and rendering (#464) 2023-08-27 11:24:30 -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 Fix plaintext HTML parsing and rendering (#464) 2023-08-27 11:24:30 -07:00
test_cli.py Update unit test and preserve prior operational ordering in main.py 2023-07-01 20:02:35 -07:00
test_client.py Use Slash Commands and Add Notes Slash Command (#463) 2023-08-26 18:11:18 -07:00
test_conversation_utils.py Add additional check for chat_messages length in UT 2023-08-01 09:25:52 -07: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_gpt4all_chat_actors.py Update local Chat Actor and Director tests expected to fail 2023-08-01 20:52:00 -07:00
test_gpt4all_chat_director.py Use Slash Commands and Add Notes Slash Command (#463) 2023-08-26 18:11:18 -07: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 Update Tests to setup both content_index, search_models before testing 2023-07-14 01:29:48 -07: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_openai_chat_actors.py Add support for our first Local LLM 🤖🏠 (#330) 2023-07-26 16:27:08 -07:00
test_openai_chat_director.py Use Slash Commands and Add Notes Slash Command (#463) 2023-08-26 18:11:18 -07: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 Update org tests to use new method, update Github configuration in tests 2023-06-27 15:04:48 -07:00
test_pdf_to_jsonl.py Create tests for PDF to JSONL processor 2023-06-01 21:42:48 +05:30
test_plaintext_to_jsonl.py Fix plaintext HTML parsing and rendering (#464) 2023-08-27 11:24:30 -07: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 Allow indexing to continue even if there's an issue parsing a particular org file (#430) 2023-08-14 07:56:33 -07:00
test_word_filter.py Use Black to format Khoj server code and tests 2023-02-17 11:55:17 -06:00