khoj/tests
Debanjum 71799add0b
Index Parent Headings of Org-Mode Entries to Improve Search Context (#548)
### Overview
The parent hierarchy of org-mode entries can store important context. 
This change updates OrgNode to track parent headings for each org entry and adds the parent outline for each entry to the index

### Details
- Test search uses ancestor headings as context for improved results
- Add ancestor headings of each org-mode entry to their compiled form
- Track ancestor headings for each org-mode entry in org-node parser

Resolves #85
2023-11-19 13:18:19 -08:00
..
data Update the default configuration for the AppConfig 2023-11-17 19:26:31 -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 Index Parent Headings of Org-Mode Entries to Improve Search Context (#548) 2023-11-19 13:18:19 -08:00
helpers.py Rename SearchModel to SearchModelConfig DB model, Require Cross-Encoder 2023-11-15 17:31:50 -08:00
test_cli.py [Multi-User Part 5]: Add a production Docker file and use a gunicorn configuration with it (#514) 2023-10-26 13:15:31 -07:00
test_client.py Test search uses ancestor headings as context for improved results 2023-11-16 03:05:19 -08: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 [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_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_gpt4all_chat_actors.py Upgrade to latest GPT4All. Use Mistral as default offline chat model 2023-10-22 19:04:23 -07:00
test_gpt4all_chat_director.py [Multi-User Part 3]: Separate chat sesssions based on authenticated users (#511) 2023-10-26 11:37:41 -07:00
test_helpers.py Improve log messages in text_entries and memory leak unit test 2023-11-06 19:27:31 -08: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_markdown_to_entries.py Rename test files from x_to_jsonl to x_to_entries 2023-11-05 14:33:07 -08:00
test_multiple_users.py Test search uses ancestor headings as context for improved results 2023-11-16 03:05:19 -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 Wrap common API query parameters into shared class to deduplicate code 2023-11-17 18:43:49 -08:00
test_org_to_entries.py Add ancestor headings of each org-mode entry to their compiled form 2023-11-16 02:54:41 -08:00
test_orgnode.py Use title, when present, as root ancestor of entries instead of file path 2023-11-17 15:03:27 -08:00
test_pdf_to_entries.py Try adding dependencies for libgl in order to run OCR in github action unit tests 2023-11-05 15:09:40 -08:00
test_plaintext_to_entries.py Rename test files from x_to_jsonl to x_to_entries 2023-11-05 14:33:07 -08:00
test_rawconfig.py Add front-end Electron application for Khoj local file syncing (#473) 2023-09-06 12:04:18 -07:00
test_text_search.py Update text search test since indexing ancestor hierarchy added 2023-11-17 15:26:55 -08:00
test_word_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