Questions tagged [azure-cognitive-services]
Use this tag for Azure Cognitive services questions including Vision, Speech, Language, Decision & Web Search APIs and SDKs.
2,527
questions
-2
votes
0
answers
10
views
Invalid image URL or error downloading from target server.Remote server error returned Response status code does not indicate success: 403 (FORBIDDEN)
When trying to use faceapi with SharePoint picture library I'm getting error. When I retrieve SharePoint profile photo I get response but when I try to get from picture library I get the error. below ...
0
votes
1
answer
78
views
Azure Speech SDK transcibing audio problem
I'm trying to add another way to transcribe speech to text to this npm lib https://github.com/Rei-x/discord-speech-recognition by using Azure speech to text SDK. I tried using the api but also with ...
0
votes
2
answers
62
views
How to create a vector search index in Azure AI search using v11.4.0
I want to create an Azure AI Search index with a vector field using the currently latest version of azure-search-documents v11.4.0.
Here is my code:
from azure.core.credentials import ...
0
votes
1
answer
67
views
Cognitive Services Speech Translation as a JSON Conversation?
Good morning,
I'm experimenting with Azure Cognitive Services and have a C# application that will monitor for wav files dropped into a storage account. When a file arrives, Cognitive Services will ...
0
votes
1
answer
31
views
Azure multi-lingual voices seem deprecated; how to find the right ones?
I am trying to use Microsoft Speech SDK with a multilingual neural voice in European Portuguese.
The documentation says that en-US-RyanMultilingualNeural is available in pt-PT, and en-US-...
0
votes
1
answer
49
views
Terraform Azure - how to define multiple subnet IDs inside Firewall Setting for azurerm_cognitive_account
How do I add multiple subnet IDs inside the network_acls.virtual_network_rules for azurerm_cognitive_account?
I see this is possible from Azure Portal GUI. But can't find any code examples on ...
0
votes
0
answers
44
views
Excluding Specific Site Libraries When Indexing SharePoint Subsites with Azure Cognitive Search AI
I am encountering an issue with Azure Search AI (formerly known as Azure Cognitive Search). My objective is to index my SharePoint using Azure Cognitive Service so that I can integrate it with Azure ...
0
votes
2
answers
90
views
Is there anyway to detect beginning of voice using microsoft azure speech cognitive sdk?
I am using "microsoft-cognitiveservices-speech-sdk": "^1.32.0" library for STT feature.
I want to detect if user talks again within 2-3 seconds after previous STT finished.
Right ...
0
votes
1
answer
105
views
Azure - Speech To Text - detect speaker channel
I am using Azure Speech To Text - continuous recognition to transcribe an audio file. I have my speakers split in stereo wav file into left and right channel. However when I am running the ...
0
votes
1
answer
85
views
Http request to Azure translator from vba in MS Access
I'd like to send http request to api.cognitive.microsofttranslator.com/translate and send some text to translate, but it does not work.
I try with this request:
Public Sub translate()
Dim strUrl ...
0
votes
1
answer
52
views
How to wait for 1 minute for the speaker's silence before start Recognition
I want azure speech to text service to wait for at least 1 minute before it start recognizing the speech. Or speaker himself click on the button after he complete his speech, then azure speech to text ...
0
votes
2
answers
36
views
Azure Cognitive Search Document Name Search
I am using Azure Cognitive Search and would like to know if there is a way to have the document name also be searchable. I can not find the specific value that is associated to document name within ...
0
votes
1
answer
110
views
Azure Cognitive Search indexing considerations
I am trying to leverage the preview feature of Azure OpenAI Service for bringing your own data. I have a large blob storage containing thousands of hundreds of documents (.pdf,.docx,.xls, etc.) and I ...
-1
votes
1
answer
146
views
Why am i receiving "AttributeError: 'str' object has no attribute 'page_content'" when trying to add my embeddings to Azure Cognitive Search
I am extracting text from pdf documents and load it to Azure Cognitive Search for a RAG approach. Unfortunately this does not work. I am receiving the error message
AttributeError: 'str' object has no ...
0
votes
1
answer
154
views
Langchain and Azure cognitive search - ImportError - cannot import name 'Vector' from 'azure.search.documents.models'
I am seeing a "cannot import name 'Vector' from azure.search.documents.models" error when I invoke my chain. Origin of my error is line 434 in lanchain/vectorstores/azuresearch.py (from ...
0
votes
1
answer
83
views
Azure OpenAi - RAG - no vectror
by reading the official documentation, it looks like the right way of doing Azure OpenAI is via RAG and vector cognitive search. Most examples are based on having loads of documents on blob storage, ...
-1
votes
1
answer
65
views
i have afloat32 array how to create an Azure AudioInputStream
i have taken realtime audio data and used as float32 array how to convert it to azure AudioStreamInput
import numpy as np
import azure.cognitiveservices.speech as speechsdk
class NumpyAudioStream(...
0
votes
2
answers
32
views
Does the BotFramework-WebChat require a bot service?
I would like to use this framework as the UI component for any API service.
According to the documentation it seems the bot framework is a requirement (see screenshot).
Question: Is this indeed a ...
0
votes
1
answer
184
views
Error while creating Azure AI Multi Service Account using Terraform
I tried to create Azure AI Multi-Service (kind=CognitiveServices) account using terraform's azurerm_cognitive_account like mentioned here.
But it reports error:
Error: creating Account (Subscription: &...
0
votes
1
answer
35
views
"image format unsupported" for face detect in flutter
I'm unable to get my detect request to work in my flutter app.
I keep getting the response:
{"error":{"code":"InvalidImage","message":"Decoding error, ...
0
votes
1
answer
117
views
Calling Azure Translator Service from web app with Managed Identity
I am new to Azure. I am calling azure translation service from web app. I want to use managed identity and so as far I tried below approach. Do you think this is the correct way. Or do I need to do ...
0
votes
1
answer
166
views
Indexer in Azure Cognitive Search service not being created [duplicate]
I'm trying to create an Indexer in Azure Cognitive Search service. but it not being created, it does not appear in indexer, I have many indexers created by others, I have also created indexers ...
0
votes
1
answer
63
views
Azure Cognitive Search multiple sql tables
Im working with a MS SQL DB which has 20 tables.
Each of the tables is relevant to the other tables in some way.
The end goal is to use the Azure OAI chat to interact with the data inside the ...
0
votes
1
answer
85
views
Using Microsoft Azure Pronunciation Assessment on Browser, /gettoken not found
Cloned and set up the Pronunciation Assessment from MS Azure Speech as instructed here:
https://github.com/Azure-Samples/Cognitive-Speech-TTS/tree/master/PronunciationAssessment/
No errors.
Key and ...
0
votes
1
answer
102
views
Azure Cognitive search custom filter problems
I'm using Azure Cognitive Search and I've encountered a problem.
I have a product schema that already has a boost property, but we want to add another boosting property specific to the product ...
0
votes
2
answers
99
views
Azure Speech Recognizer gives me error about header
I am trying Speech to text with Azure Speech Recognizer service but when ı run this code, ı get error
code is;
import azure.cognitiveservices.speech as speechsdk
subscription_key = "key is here&...
0
votes
0
answers
26
views
Azure Face API: How to resolve the following exception: [duplicate]
var detectedFace1 = await client.Face.DetectWithStreamAsync(request.Image1, true, recognitionModel: recognition04);
DetectWithStreamAsync throws the following exception:
"Operation returned an ...
3
votes
1
answer
302
views
Azure OpenAI on your data - System message usage
I'm working with Azure OpenAI on your data, trying to understand:
why system message seems to not work as expected
strategy for providing instructions in “on your data” case
For example, calling ...
0
votes
1
answer
84
views
Can I use Azure Cognitive Search to query email content?
I'm trying to query contents of email using Azure Cognitive Search, and I am trying to figure out if this technology is suitable for what I want to do.
Emails can contain both text and HTML ...
0
votes
1
answer
161
views
Get empy result from my code with Azure Speech translation API In Python
When I tried running the following code in my Colab, I got no result - no error as well. Is there any issue with how the blogs are positioned or anything else? As you can guess I am a greenhorn so I ...
0
votes
0
answers
68
views
Azure Cognitive Search: Possible to search for null-valued fields when field is searchable but NOT filterable?
Description:
Is it possible to search for null-valued fields if they don't have the "Filterable" checkbox enabled on the schema in Azure Cognitive Search?
Example Schema:
field1: Complex
...
0
votes
1
answer
55
views
Create Alias in Azure Cognitive Search using C#
Just read the documentation about creation of index alias using .Net SDK but had no success implementing it.
We are trying to simply run:
`// Create a SearchIndexClient
SearchIndexClient adminClient = ...
0
votes
1
answer
158
views
Why does the Azure Cognitive Search Python SDK not return @search.answers arraya when the API does?
I am having an issue with the beta version of the Azure Cognitive Search Python SDK "azure-search-documents 11.3.0b6" which can be used to query an Azure Cognitive Search index and supply ...
0
votes
1
answer
303
views
'Azure cognitive Search' - 'Fields' configuration issue
I'm working on building a semantic search engine using 'Azure Cognitive Search'. I uploaded my excel dataset programmatically using python.
To search & run the queries, each field/column in the ...
-1
votes
1
answer
75
views
Azure Cognitive Search - Spell Checker Implementation in C#
I am looking for implementing spell checker for the azure cognitive search in C#. For now I have reviewed the spell checker link from the official Microsoft documentation:
https://learn.microsoft.com/...
0
votes
1
answer
105
views
Programmatically index non-JSON documents for Azure Cognitive Search
I would like to programmatically do what an Azure indexer does, that pushes documents from a data source to an index on Azure. Ideally written in Python.
It could be done via an Azure indexer but I ...
0
votes
1
answer
181
views
Azure Cognitive Search Skillsets - Error w/ Azure FN Skill
Followed this repo https://github.com/Azure-Samples/azure-search-power-skills/tree/main/Vector/EmbeddingGenerator.
Successfully deployed the Azure Fn. Can successfully use the TEST+CODE Fn Azure ...
0
votes
1
answer
80
views
How to receive phone call in azure and stream it into intent recognition (azure cognitive services)
I am trying to receive a phone call and stream it into cognitive services. How can I do this?
I tried:
Setup phone number in Azure and make Azure Event grid and setup a webhook to send the the event ...
2
votes
1
answer
183
views
Microsoft Cognitive Speech SDK(js) not working well on safari
I am using microsoft-cognitiveservices-speech-sdk 1.31.0 with react.js frontend.
It works well on google chrome browser, but when it goes on safari it does not work well.
text-to-speech function (...
0
votes
1
answer
42
views
Azure Cognitive Search - Error using GeographyPoint
Using Azure Cognitive Search and specifying a GeographyPoint field like this:
[SearchableField(IsFilterable = true, IsSortable = true)]
public GeographyPoint geoPoint { get; set; }
And them ...
0
votes
1
answer
61
views
Recognize International Phone Numbers with Azure Recognized Named Entities
I am using the Azure TextAnalyticsClient to recognize entities but in the document I am passing through has phone numbers which are formatted differently.
For example, 07890123456 would be recognized ...
0
votes
0
answers
133
views
how to 'indexStorageMetadataOnlyForOversizedDocuments' to true?
in Azure, when importing data ( container ) , the task is failing because the PDF in the blob is too big. Im prompted to set 'indexStorageMetadataOnlyForOversizedDocuments' to true, but where ?
...
1
vote
0
answers
194
views
Best Practices for Converting PDF to Plain Text and Indexing with Azure Cognitive Search
I am currently developing an in-house bot application using AzureOpenAI. My approach is to upload the company's manuals to Blob Storage, create a search index using Cognitive Search, and have the bot ...
0
votes
1
answer
41
views
How to well support misspell words on Azure Cognitive Search
I have a question on how to make Azure Cognitive Search support misspell cases. For example: if I make search "arohi communications inc", I hope that "aarohi communications inc" is ...
0
votes
1
answer
44
views
On Azure Cognitive Search, how to support Concatenated words or split words
I am currently using Azure Cognitive Search. I hope it can support Concatenated words or split words. For example: If I make search "mapletree", I hope that results containing "map tree&...
0
votes
1
answer
239
views
Azure Cognitive Search on private endpoints - implement Function for built-in skills
It says here:
https://learn.microsoft.com/en-us/azure/search/cognitive-search-attach-cognitive-services?tabs=portal%2Cportal-remove#how-the-key-is-used
"If disabling public networks is a ...
-1
votes
1
answer
90
views
Question about the Dynamic Dictionary feature of the Microsoft Translator API
I am currently testing the Microsoft Translator API and its individual API functions. I have already read through the documentation on the Dynamic Dictionary feature (https://learn.microsoft.com/en-us/...
0
votes
1
answer
61
views
S2S Translation runs on Windows but does not work on linux
I am using Microsoft speech to speech translation model. I have used in windows. It works fine. When I ran it on linux it gives me multiple errors. Most of which were due to dependencies that I ...
1
vote
1
answer
104
views
What is the cheapest way to generate text-to-speech at a slower rate using Microsoft Azure?
Here is my sample SSML for generating the text-to-speech audio for a word using Microsoft Azure text-to-speech:
<speak version="1.0" xmlns="http://www.w3.org/2001/10/synthesis" ...
2
votes
1
answer
316
views
Unable to list text-embedding model for vector search in Azure open AI service
I am encountering an issue while trying to add vector search for Azure open AI service within the context of cognitive search. After selecting the tickmark, I am unable to list any models, even though ...