llm
llm copied to clipboard
Calling `llm embed` with the same content but different --store settings does not update the table
Just noticed this:
paginate-json 'https://api.github.com/repos/simonw/llm/issues?state=all&filter=all' > issues.json
cat issues.json | jq '[.[] | {id, title, body}]' | llm embed-multi llm-issues -
That worked and populated my llm-issues
collection with 215 records. But then I realized I should have passed --store
to store the content too. So I ran this:
cat issues.json | jq '[.[] | {id, title, body}]' | llm embed-multi llm-issues - --store
But the content
column was not populated, because the code noticed that the content_hash
had not changed.