Based on this tutorial
May also want to check out how to query an index using llama-index 0.5.7
You can get an api token and watch your account here
Usage from the command line:
Set up an index.
python create_obsidian_index.py "path/to/your/obsidian/archive/root"
To query that index:
python solicit.py "Question for yourself?"
Only supports one index right now, saved as obsidian_index.json in the project directory