SharePoint Data Debug Output

This page helps visualize the debug data that the voice agent uses when processing SharePoint queries.

How to Use This Debug Page

  1. Open the Voice Agent: Click the link below to open the voice agent in a new tab
  2. Start Log Capture: Click the "Start Capturing Logs" button on this page
  3. Use the Voice Agent: In the other tab, ask the voice agent to query SharePoint data (e.g., "Show me order 557564" or "Find John Doe")
  4. View Debug Output: Come back to this page to see the debug logs showing:
    • How many records were parsed from SharePoint
    • Which records matched your query after filtering
    • The exact formatted text that the voice agent receives
    • How multi-line notes are being formatted

What You'll See in the Debug Logs

Once you start capturing and use the voice agent, you'll see three types of debug output:

1. PARSED RECORDS DEBUG

  • Total number of records parsed from SharePoint
  • Sample structure of the first record showing all fields
  • Helps verify that pipe-separated data is being parsed correctly

2. FILTERING DEBUG

  • The search query you entered
  • Which numeric/name keys were extracted
  • How many records matched after filtering
  • Preview of matched records with name, order, and notes

3. VOICE AGENT DEBUG OUTPUT

  • The complete formatted text sent to the voice agent
  • Line-by-line breakdown of the output
  • Shows how multi-line notes are numbered and formatted
  • This is exactly what the GPT-Realtime model receives
← Back to Home