Debanjum Singh Solanky
0602d018c0
Merge Symmetric, Asymmetric Search Types into a single Text Search Type
...
- The code for both the text search types were mostly the same
It was earlier done this way for expedience while experimenting
- The minor differences were reconciled and merged into a single
text_search type
- This simplifies the app and making it easier to process other
text types
2022-07-21 21:19:52 +04:00
Debanjum Singh Solanky
c1369233db
Consistently use "entry", "score" in json response for all search types
...
- Had already made some progress on this earlier by updating the image
search responses. But needed to update the text search responses to
use lowercase entry and score
- Update khoj.el to consume the updated json response keys for text
search
2022-07-20 20:33:27 +04:00
Debanjum Singh Solanky
c9ff97451b
Fix tests to handle updated response types by API
2022-07-20 03:01:56 +04:00
Debanjum Singh Solanky
68ee88cebc
Fix image search tests after update to API response for image search types
...
- Look for 'entry' key in response json instead of 'Entry'
- Expect image where id = alphanumeric order of image name
2022-07-20 01:37:01 +04:00
Debanjum Singh Solanky
732b2d287f
Give the project a short, less generic name. Rename it to Khoj
...
- Semantic Search was just a placeholder used to test the idea out
Didn't want to get into naming at that point of time
2022-07-19 18:26:16 +04:00
Debanjum Singh Solanky
2f7ef08b11
Add Unit Tests to verify the Reload API functions as desired
2022-06-29 23:47:17 +04:00
Debanjum Singh Solanky
179153dc5a
Rename RawConfig Types for Consistency
...
- Naming convention - [ContentType][ConfigType]Config
- Where [ConfigType] ~ Content, Search, Processor
- Where [ContentType] ~ Text, Image, Asymmetric, Symmetric, Conversation
- Current Configs:
- Content:
- Org Notes
- Org Music
- Image
- Ledger/Beancount
- Search:
- Asymmetric
- Symmetric
- Image
- Processor:
- Conversation
2022-01-14 20:54:38 -05:00
Debanjum Singh Solanky
ed144f7984
Setup Search with Search_Config to Fix Tests
...
- Rename pytest fixture search_config to more appropriate
content_config
- Create search_config pytest fixture
- Use search_config where search being setup, used in tests
2022-01-14 20:13:14 -05:00
Debanjum
ef911aa6be
Skip Flaky Image Search Test
...
Image search doesn't always return expected image path.
Should resolve remaining issues with failing cloud test. See #11
2021-12-12 02:15:20 -08:00
Saba
ba8dc9ed5f
Update the search_config instantiated for tests in conftest
2021-12-11 14:14:31 -05:00
Saba
d65190c3ee
Update unit tests, files with removing model suffix to config types
2021-12-09 08:50:38 -05:00
Saba
76e9e9da2f
Update unit tests to use the new BaseModel types
2021-12-05 09:31:39 -05:00
Debanjum Singh Solanky
9dcffe3e8e
Rename test_main to test_client. It only contains client specific tests
2021-10-02 20:32:53 -07:00