New output options: --json
, --nl
, --csv
and --tsv
. These can be used to produce structured output which can be consumed by other tools such as sqlite-utils or llm embed-multi. #40
To generate and store embeddings for all of your symbols, run this:
symbex '*' '*:*' --nl | \
llm embed-multi symbols - \
--format nl --database embeddings.db --store
This produces an embeddings.db
database containing your code and its embeddings.
You can then run searches using llm similar:
llm similar symbols -d embeddings.db -c 'test csv' | jq