khoj/tests
sabaimran 124d97c26d
Replace Falcon 🦅 model with Llama V2 🦙 for offline chat (#352)
* Working example with LlamaV2 running locally on my machine

- Download from huggingface
- Plug in to GPT4All
- Update prompts to fit the llama format

* Add appropriate prompts for extracting questions based on a query based on llama format

* Rename Falcon to Llama and make some improvements to the extract_questions flow

* Do further tuning to extract question prompts and unit tests

* Disable extracting questions dynamically from Llama, as results are still unreliable
2023-07-27 20:51:20 -07:00
..
data Add support for our first Local LLM 🤖🏠 (#330) 2023-07-26 16:27:08 -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 test config to run OpenAI Chat Actor, Director tests 2023-07-27 11:30:04 -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 Clean up search type usage in khoj server, tests and Readme 2023-07-18 19:57:55 -07:00
test_conversation_utils.py Fix failing unit tests by hard-coding model presence of expected search types 2023-06-13 16:32:47 -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 Replace Falcon 🦅 model with Llama V2 🦙 for offline chat (#352) 2023-07-27 20:51:20 -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 Add support for our first Local LLM 🤖🏠 (#330) 2023-07-26 16:27:08 -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_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 Drop embeddings of deleted text entries from index 2023-07-16 03:47:05 -07:00
test_word_filter.py Use Black to format Khoj server code and tests 2023-02-17 11:55:17 -06:00