Enrichments that use a paid API (e.g. OpenAI embeddings) could offer a cost estimate, which works by running in the background and churning through all of the matching rows adding up the tokens that would be used via tiktoken or similar.
This will be a fiddle to implement due to the need to run it in the background and paginate through the whole set.
Enrichments that use a paid API (e.g. OpenAI embeddings) could offer a cost estimate, which works by running in the background and churning through all of the matching rows adding up the tokens that would be used via
tiktoken
or similar.This will be a fiddle to implement due to the need to run it in the background and paginate through the whole set.