https://retellai.com/?utm_source=discord&utm_medium=seo logo
how to use "User Sentiment" atribute?
# ❓・bug-report
e
Hi folks! how can I use this atribute during the call? Is it exposed to the LLM, so I can have the prompt behave in a different way? Or is it only available after the call ends and sent through the webhook?
n
The user_sentiment attribute is a part of the call_analysis object which you can receive only after call ends by subscribing to the "call_analyzed" event. Right now it's for analytics purposes only and not used to tune the LLM directly
e
Thanks!