question

GabrieleSerra-9138 avatar image
0 Votes"
GabrieleSerra-9138 asked romungi-MSFT commented

file location when audio logging is enabled in SpeechConfig

Hi, where is the file generated
configuring enabled audio logging in speech config object ?

azure-cognitive-servicesazure-speech
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I haven’t setted up any path so I would to know the default location. Thank you.

0 Votes 0 ·

1 Answer

romungi-MSFT avatar image
0 Votes"
romungi-MSFT answered romungi-MSFT commented

@GabrieleSerra-9138 I think there is a bit of confusion with the documentation for enable audio logging. I have tried this scenario and the logs are enable on the service. This is detailed in the speech to text FAQ document here.

The logs can be retrieved using the Get Base Model Endpoint API

For a configuration that I used with the python SDK.

 speech_config.enable_audio_logging()

The logs location is available in the response of this API.

66442-image.png

The format of the file should contain all the details of the requests you pass to the speech API.





image.png (67.2 KiB)
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you very much, you was very clear. I have seen that exist the property config.setProperty(PropertyId.Speech_LogFilename, "LogfilePathAndName");
Isn’t a local file created if this property is not setted?

Thank you again

0 Votes 0 ·

I think in this case also there are restrictions as documented according to the platform being used..


0 Votes 0 ·