Ability to turn off logs for production deployment.
S
Sepia Porpoise
Hey, we are building an app that may send private data via LangTail. We want to make sure we dont save logs for the production deploy.
We still want logs when we are testing the prompts or using other deployment tracks.
Tomas Rychlik
Hey not sure if you are aware as its a bit hidden in the docs, you should be able to achieve this by sending a parameter
doNotRecord
that you can send to Langtail API and it will prevent storing data like the variables, request and response body to logs - https://langtail.com/docs/api-reference/endpoint/invoke-deployed-promptIt would make sense to have a setting in Langtail App to enable doNotRecord by default for specific deployments / environments