Labels transactions using an LLM with retry logic.
The existing transactions.
The new transactions.
The name of the prompt file.
Maximum retry attempts (default: 2, for a total of 3 attempts).
A promise that resolves to the labeled transactions.
An error if the labeling process fails after all retries.
Labels transactions using an LLM with retry logic.