Debanjum Singh Solanky
c35c6fb0b3
Reuse asymmetric.setup & input validation from asymmetric & org_to_jsonl
...
Create asymmetric.setup method to
- initialize model
- generate compressed jsonl
- compute embeddings
put input_files, input_file_filter validation in org_to_jsonl for
reuse in main.py, asymmetic.py
2021-08-17 00:45:40 -07:00
Debanjum Singh Solanky
95bf26a7f2
Set verbosity commandline parameters default value to 0
2021-08-16 19:16:29 -07:00
Debanjum Singh Solanky
1c00c33e73
Improve debug output from org_to_jsonl.py script
2021-08-16 18:50:29 -07:00
Debanjum Singh Solanky
2a57156428
Fix org_to_jsonl. Use passed args not global variables in methods. Fix orgnode import
2021-08-16 17:37:44 -07:00
Debanjum Singh Solanky
66238004d8
Use verbosity level instead of bool across application
...
For consistent, more granular verbosity controls across app
Allows user to increase verbosity by passing -vvv flags passed to main.py
2021-08-16 17:15:41 -07:00
Debanjum Singh Solanky
649e5d1327
Allow reuse of get_absolute_path, is_none_or_empty methods
...
- Move them to utils.helper.py for reuse
- Import those modules where required
- Delete duplicate methods defined in org_to_jsonl.py, asymmetric.py
2021-08-16 16:33:43 -07:00
Debanjum Singh Solanky
19d6678eb1
Allow importing org-to-jsonl as module for reuse
...
To allow importing org-to-jsonl as module
- Wrap code in __main__ into a org-to-jsonl method
- Rename processor/org-mode to processor/org_mode
- Add __init__.py to processor directory
2021-08-16 16:31:30 -07:00