Extract rows and apply object embeddings (#42)

* - Restructured the extract directories
- Added an extractor for 'rows' == a row of a table
- Added a row extractor prompt to prompter.
* Add row support to template prompter
* Row extraction working
* Bump version
* Emit extracted info
* Object embeddings store
* Invocation script
* Add script to package, remove cruft output
* Write rows to Cassandra
* Remove output cruft
This commit is contained in:
cybermaggedon 2024-08-27 21:55:12 +01:00 committed by GitHub
parent b574ba26a8
commit e4c4774b5d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
70 changed files with 1624 additions and 520 deletions

View file

@ -0,0 +1,13 @@
scripts/object-extract-row \
-p pulsar://localhost:6650 \
--field 'name:string:100:pri:Name of the person in the story' \
--field 'job:string:100::Job title or role' \
--field 'date:string:20::Date entered into role if known' \
--field 'supervisor:string:100::Supervisor or manager of this person, if known' \
--field 'location:string:100::Main base or location of work, if known' \
--field 'notes:string:1000::Additional notes or observations about this animal or person' \
--no-metrics \
--name actors \
--description 'Relevant people'