Forum Widgets
Latest Discussions
Whisper-1 Model Transcribes English Audio Incorrectly
Hi everyone, I'm currently working with the gpt-4o-realtime-preview model from Azure OpenAI and using the whisper-1 model for audio-to-text transcription. However, I'm encountering a recurring issue where the transcription frequently fails to detect the correct language. Even though I provide clear English audio, the output is often transcribed in other languages such as Hindi, Urdu, or Chinese. This inconsistency is affecting the reliability of the transcription process. Here’s a snippet of the code I’m using: ConversationSessionOptions sessionOptions = new() { Voice = ConversationVoice.Alloy, InputAudioFormat = ConversationAudioFormat.Pcm16, OutputAudioFormat = ConversationAudioFormat.Pcm16, Instructions = instructions, InputTranscriptionOptions = new() { Model = "whisper-1", }, }; Is there a way to explicitly specify or prompt the whisper-1 model to prioritize or lock in English as the transcription language? Any guidance on how to improve language detection accuracy would be greatly appreciated. Thanks in advance!PrathameshDeshmukhJun 24, 2025Copper Contributor152Views0likes4CommentsInstall Azure AD Connect when Azure AD Connect Cloud sync is already set
Hi, Quick question here. I need to enable Hybrid Azure AD joined devices and for this I follow this procedure: https://learn.microsoft.com/en-us/azure/active-directory/devices/howto-hybrid-azure-ad-join#managed-domains As I already have Azure AD Connect Cloud sync setup for my environment (and knowing that it does not support devices), can I install Azure AD Connect now and set it up as required? Thanks for your feedback guys. Regards, DomSolvedDomAnnicetteJun 28, 2023Brass Contributor3.6KViews0likes4CommentsDifferences between AZ and Azure CLI PowerShell modules
Hi, As we all have the following PS modules: How to install Azure PowerShell How to install the Azure CLI Anybody have experiences the differences between these two? I have a feeling that they do not have the same features. There is also some published article by Microsoft: Choose the right Azure command-line toolPetri-XJan 29, 2024Bronze Contributor1.7KViews0likes3CommentsPowerShell subscription
Hi, I am sorry to ask so newbie question but I start studying Azure just now. I bought a course and I got tuck at the first lesson. I want to open PowerShell window in Azure but it tells me this: No valid subscriptions found You need an Azure subscription to use Azure cloud Shell. It is interesting because the company which I work at, has Office 365, Azure AD, etc. subscriptions. I do not know whether this subscription is free or we have to pay for it later. Can someone help me, please?SolvedshatvaniSep 29, 2023Copper Contributor6.2KViews0likes3CommentsAzure Powershell Script for Group Based Roles PIM ?
Does anyone have a good poweshell script to enable Groups Role Based Access in PIM in Azure?romanmenschApr 24, 2023Copper Contributor3KViews0likes3CommentsNeed help with --query parameter in Azure CLI
Hi all! We've used the Az CLI sometimes to view log streams from App Service web apps. This works ok-ish, like so: az webapp log tail --name some-demo-app --resource-group some-demo-rg But we're pretty stuck with how to filter the results. There's a ton of stuff streamed that we're not interested, so we'd like to just filter - as in grep or whatever - the results. The documentation (https://docs.microsoft.com/en-us/cli/azure/webapp/log?view=azure-cli-latest#az_webapp_log_tail) is... lacking, to be polite: it mentions the "--query" parameter and has a link to JMespath website, but darned if I can figure out how to use it in this case. I understand (well, sorta) how the JMespath stuff works on JSON objects, but the "webapp log tail" returns just simple strings. How can I filter on strings on the output strings? I feel like I'm trying to do something too simple here... 😉 Any ideas welcome!Antti_KurenniemiMar 01, 2021Copper Contributor4.2KViews0likes3CommentsAzure Openai Whipser REST endpoints
I wanted to use Whisper deployed through Azure OpenAI but I am having trouble finding the right resources for it. I am trying to integrate a translator using Whisper in a flutter app that will take multilingual input and give out the output in english. Right now the transcription is working using this endpoint: https://<dep>.openai.azure.com/openai/deployments/<name>/audio/transcriptions?api-version=2024-02-01 and structuring the request like: var uri = Uri.parse(whisperEndpoint); var request = http.MultipartRequest('POST', uri) ..headers['api-key'] = whisperApiKey ..files.add(await http.MultipartFile.fromPath('file', filePath)); What is the endpoint for translation and other services?dhruvsinha06Jul 31, 2024Copper Contributor266Views0likes2CommentsAzure Function Deployment Failing: [HttpException (0x80004005)]:
So I have this node js azure function which is working fine on local, and was previously working fine live as well. But now, for some reason when I try to deploy it through VS Code, it gives the following exception: 1:07:19 PM: Error: Server Error in '/' Application. ---------------------------------------- The network path was not found. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.IO.IOException: The network path was not found. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [IOException: The network path was not found. ] System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +1143 System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost) +1436 System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost) +98 System.IO.Abstractions.DirectoryWrapper.CreateDirectory(String path) +14 Kudu.Core.Infrastructure.FileSystemHelpers.EnsureDirectoryIgnoreAccessExceptions(String path) +40 Kudu.Services.Web.App_Start.NinjectServices.GetSettingsPath(IEnvironment environment) in C:\__w\1\s\Kudu.Services.Web\App_Start\NinjectServices.cs:828 Kudu.Services.Web.App_Start.NinjectServices.EnsureValidDeploymentXmlSettings(IEnvironment environment) in C:\__w\1\s\Kudu.Services.Web\App_Start\NinjectServices.cs:0 Kudu.Services.Web.App_Start.NinjectServices.RegisterServices(IKernel kernel) in C:\__w\1\s\Kudu.Services.Web\App_Start\NinjectServices.cs:157 Kudu.Services.Web.App_Start.NinjectServices.CreateKernel() in C:\__w\1\s\Kudu.Services.Web\App_Start\NinjectServices.cs:132 Ninject.Web.Common.Bootstrapper.Initialize(Func`1 createKernelCallback) +23 Kudu.Services.Web.App_Start.NinjectServices.Start() in C:\__w\1\s\Kudu.Services.Web\App_Start\NinjectServices.cs:97 [TargetInvocationException: Exception has been thrown by the target of an invocation.] System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0 System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) +269 System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +146 WebActivatorEx.BaseActivationMethodAttribute.InvokeMethod() +81 WebActivatorEx.ActivationManager.RunActivationMethods(Boolean designerMode) +702 WebActivatorEx.ActivationManager.Run() +120 [InvalidOperationException: The pre-application start initialization method Run on type WebActivatorEx.ActivationManager threw an exception with the following error message: Exception has been thrown by the target of an invocation..] System.Web.Compilation.BuildManager.InvokePreStartInitMethodsCore(ICollection`1 methods, Func`1 setHostingEnvironmentCultures) +890 System.Web.Compilation.BuildManager.InvokePreStartInitMethods(ICollection`1 methods) +167 System.Web.Compilation.BuildManager.CallPreStartInitMethods(String preStartInitListPath, Boolean& isRefAssemblyLoaded) +133 System.Web.Compilation.BuildManager.ExecutePreAppStart() +178 System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +746 [HttpException (0x80004005): The pre-application start initialization method Run on type WebActivatorEx.ActivationManager threw an exception with the following error message: Exception has been thrown by the target of an invocation..] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +552 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +122 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +737 ---------------------------------------- Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4700.0 I have very little experience with Azure Functions, so pardon me if this is a very basic exception. Any help would be appreciated.zaryabro1May 03, 2024Copper Contributor541Views0likes2CommentsKeycloak with Azure container app
Hi Experts, I am new to Azure. We deployed keycloak in Azure ContainerApp as TCP and forwarded the request to HTTPS via Application Gateway. But We are facing a network issue when we give multiple requests to the keycloak. I noticed it is happening when the replica increased from 1 to 2. Keycloak :- 22.0.1 Port: TCP Replicas :- 1 to 30 ( condition if 30 request) Properties: env: - name: KEYCLOAK_ADMIN value: admin - name: KEYCLOAK_ADMIN_PASSWORD value: admin - name: KC_PROXY value: edge - name: KC_DB value: mysql - name: KC_DB_URL value: jdbc:mysql://xxx:3306/keycloak?useSSL=false - name: KC_DB_USERNAME value: keycloak - name: KC_DB_PASSWORD value: xxx - name: TZ value: America/New_York - name: KC_HOSTNAME_ADMIN_URL value: https://keycloakmts.atomiq.us/ - name: KC_HOSTNAME_URL value: https://keycloakmts.atomiq.us/ - name: KC_HOSTNAME_DEBUG value: 'true' - name: KC_HOSTNAME_STRICT_BACKCHANNEL value: 'true' - name: KC_CACHE value: ispnSriguruvelMar 22, 2024Copper Contributor1.6KViews0likes2CommentsMonitor API cost
Hello team, According to Microsoft's official documentation, we understand that they charge $0.01 for every 1000 API calls (after the free quota). How does this API charge occur? Is it based on each metric being one API call or each resource being one API call? How is this charge calculated? Microsoft nowhere mentioned this charging calculation. Thanks, Vinoth_Azure430Views0likes2Comments