Index of every page on this site: llms.txt
All skills
microsoft avatar

/azure-ai

@0d60658
by microsoftmicrosoft/skills3.2k stars
373
Run it yourself

Build and troubleshoot Azure AI Search, Speech, Document Intelligence, Content Understanding, Translator, Content Safety, and OpenAI apps. WHEN: AI Search, vector search, hybrid search, semantic search, indexer, speech-to-text, text-to-speech, fast or batch transcription, Speech SDK logs, session ID, result ID, OCR, document translation, glossary.

Use this Skill: https://skilld.dev/gh/microsoft/skills/azure-ai

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesspeechlogging-apis.md

≈983 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Speech SDK logging APIs by language and platform

Copied from the official Enable logging in the Speech SDK article and the per-language API references (checked 2026-10-21); they are authoritative if they differ. Pick the API for the user's language and installed SDK version. Loggers are process-wide; scope and privacy are in collection. path is the log file path.

Diagnostic loggers (FileLogger, MemoryLogger, EventLogger)

Availability is binding-specific. When FileLogger was added, per source:

Binding Added in Source
C++ 1.20.0 pinned C++ header
C# 1.20.0 .NET API reference
Java 1.42.0 Java API reference
Python 1.43.0 Python API reference
Others not checked installed package's API reference

The how-to article recommends the static loggers from 1.43.0 onward; that is guidance, not an availability limit for every binding. Use these loggers when the installed binding has them, and the legacy property only when it does not.

Language File logger Memory logger dump
C# FileLogger.Start(path), FileLogger.Stop() (Microsoft.CognitiveServices.Speech.Diagnostics.Logging) MemoryLogger.Dump(path)
C++ FileLogger::Start(path), FileLogger::Stop() MemoryLogger::Dump(path)
Java FileLogger.start(path), FileLogger.stop() (com.microsoft.cognitiveservices.speech.diagnostics.logging) MemoryLogger.dump(path)
Python FileLogger.start(path), FileLogger.stop() (azure.cognitiveservices.speech.diagnostics.logging) MemoryLogger.dump(path)
Objective-C [SPXFileLogger start:path], [SPXFileLogger stop] [SPXMemoryLogger dumpToFile:path]
Swift (iOS) SPXFileLogger.start(path) see the article
JavaScript sdk.Diagnostics.SetLoggingLevel(sdk.LogLevel.Debug), sdk.Diagnostics.SetLogOutputPath(path) not applicable

JavaScript uses a separate implementation and log format, so the native-format analyzer does not apply. For Go the article documents only the legacy property. EventLogger callbacks and filters are in the article's per-language samples.

Legacy property

For a binding without the loggers above, the article documents the legacy Speech_LogFilename property on the speech configuration:

Language Call
C# speechConfig.SetProperty(PropertyId.Speech_LogFilename, path)
C++ speechConfig->SetProperty(PropertyId::Speech_LogFilename, path)
Java speechConfig.setProperty(PropertyId.Speech_LogFilename, path)
Python speech_config.set_property(speechsdk.PropertyId.Speech_LogFilename, path)
Objective-C [speechConfig setPropertyTo:path byId:SPXSpeechLogFilename]
Go speechConfig.SetProperty(common.SpeechLogFilename, path)

Creating a recognizer from that configuration enables logging for all recognizers. A SpeechSynthesizer created from it does not enable logging, although synthesizer diagnostics appear when logging is already enabled; the article's C++ helper enables logging with a temporary recognizer for that reason. The latest recognizer created sets the file for all SDK logging, and releasing an object does not stop logging; the article stops it by creating a new object with an empty path.

Log file location by platform

  • Windows and Linux: any path the user can write.
  • UWP: an application data folder (local, roaming or temporary).
  • Android: internal, external or cache storage. The article's example uses context.getExternalFilesDir(null) and lists the manifest permission and Unity setting it requires.
  • iOS: only the app sandbox (documents, library, temp). Files in the documents directory can be exposed to users with the two Info.plist keys in the article.

Other operating systems can restrict writes by default.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning11d4 checks · Risk SAFE
  • Gen Agent Trust Hub11d

    This skill provides tools and guidance for developing and troubleshooting Azure AI services. It includes a local diagnostic script for analyzing Speech SDK logs with robust safety controls, along with comprehensive references for official Azure SDKs and secure authentication practices.

  • Socket11d

    No alerts

  • Snyk11d

    Risk: LOW · No issues

  • Runlayer9mo

    15/15 files flagged

Signed by skilld at 0d60658. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 2 days ago
metadata
{
  "author": "Microsoft",
  "version": "1.2.6"
}

README badge

README badge for microsoft/skills/azure-ai