3 ms·
Am I misreading this code? It looks like you don't have precomputed table representations and search, instead you scan, embed, and compare on each run? https:/
by iandanforth 2y ago
Am I misreading this code? It looks like you don't have precomputed table representations and search, instead you scan, embed, and compare on each run?
https://github.com/Dataherald/dataherald/blob/main/services/engine/dataherald/sql_generator/dataherald_sqlagent.py#L217 https://github.com/Dataherald/dataherald/blob/main/services/...
- aazo11 2y agoTables, columns and views are scanned at configuration time (or based on an API trigger) and stored in the data store and a vector store, not on every run. They are then retrieved and injected based on relevance to the query.