How can I log prompt inputs to Azure OpenAI to enable full-prompt logging in Log Analytics?

Sikora, Nicholas 5 Reputation points
2023-03-26T17:05:43.92+00:00

My goal is use Azure Monitor to log and monitor full text prompt inputs to the Azure OpenAI service. Is this possible and if so, how can we configure / enable the ability log prompt inputs to the Azure OpenAI service?

I already have a Log Analytics Workspace but for compliance reasons have to ensure that specific content and keywords are not included in prompts.

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,812 questions
Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
2,192 questions
Microsoft Sentinel
Microsoft Sentinel
A scalable, cloud-native solution for security information event management and security orchestration automated response. Previously known as Azure Sentinel.
986 questions
{count} votes