Record embedding, asr, tts message token and billing
Self Checks
- [X] I have searched for existing issues search for existing issues, including closed ones.
- [X] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
- [X] Pleas do not modify this template :) and fill in all the required fields.
1. Is this request related to a challenge you're experiencing?
When I tried to obtain the token and amount of the ASR and TTS messages, the API interface did not return and no record was found in the database.Because I need this data to display to the caller.
2. Describe the feature you'd like to see
Similar to the dialogue interface, the token or amount consumed by asr and tts can be returned and recorded in the database.
3. How will this feature improve your workflow or experience?
This will reduce my calculation workload and I believe it will also be helpful to other Dify users.
4. Additional context or comments
No response
5. Can you help us with this feature?
- [ ] I am interested in contributing to this feature.
Hi, @wangrg,
I'm helping the Dify team manage their backlog and am marking this issue as stale. It looks like you requested the addition of functionality to obtain and record the token and amount of ASR and TTS messages, as the current API interface does not return this data. This feature would reduce the user's calculation workload and potentially benefit other Dify users. Since there hasn't been any further activity or comments on this issue, I wanted to check if this is still relevant to the latest version of the Dify repository.
If it is, please let the Dify team know by commenting on the issue. Otherwise, feel free to close the issue yourself, or the issue will be automatically closed in 7 days. Thank you for your understanding and contribution to the Dify project!