Category: News
decsg fails to decompose a few ellipses out of a set of 19 for unknown reason
Hello all, I am attempting to generate a decomposed geometry matrix of various ellipses in a square region using decsg in order to then extrude the geometry into 3D and mesh for use in a static structural model in the pde toolbox.
However, some of the ellipses (#4 when included with #s 1-3 or #19 when included with the rest) cause decsg to fail when included in the decsg inputs as so:
Error using decsg
Unable to decompose objects in the geometry description matrix into minimal regions.
Error in scatteredEllipses (line 42)
[dl, ~] = decsg(gd,sf,ns);
The scatteredEllipses function is presented below in its entirety, I have also attached the force_x, force_y, and force_z variables within forces.mat which are 512×512 double matrices of force magnitudes which represent desired ellipse locations.
clearvars -except force*; close all;
%% Fit ellipses to each traction island
tractionMask = abs(force_x) + abs(force_y) + abs(force_z); %combine x,y,z tractions to create mask of all nonzero elements
tractionMask(tractionMask ~= 0) = 1; %convert nonzero elements to 1
cc = bwconncomp(tractionMask); %get all connected ellipse regions
s = regionprops(cc,{‘Centroid’,’Orientation’,’MajorAxisLength’,’MinorAxisLength’}); %fit ellipse parameters to each detected region
figure, imshow(tractionMask,[]), hold on
theta = linspace(0,2*pi);
orientationList = zeros(size(s,1),2);
for i = 1:length(s)
col = (s(i).MajorAxisLength/2)*cos(theta);
row = (s(i).MinorAxisLength/2)*sin(theta);
M = makehgtform(‘translate’,[s(i).Centroid, 0],’zrotate’,deg2rad(-1*s(i).Orientation));
[orientationList(i,1),orientationList(i,2)] = pol2cart(deg2rad(-1*s(i).Orientation),1);
D = M*[col;row;zeros(1,numel(row));ones(1,numel(row))];
plot(D(1,:),D(2,:),’r’,’LineWidth’,2); hold on
s(i).Orientation = -1 * s(i).Orientation; %convert orientation to xy coordinate frame
end
%axis xy
hold off
%% Generate geometry
meshPtsFwdSol = 512;
halfSide = meshPtsFwdSol/2;
bound = [3; 4; -halfSide; halfSide; halfSide; -halfSide; halfSide; halfSide; -halfSide; -halfSide];
ns = char(‘bound’);
sf = ‘bound’;
full = 1:length(s);
workingSubset = 4:length(s)-1;
g = 1;
for i = workingSubset %switch with full to cause error
sf = [sf,’+elli’,num2str(g)];
ns = char(ns,[‘elli’,num2str(g)]);
elli(:,g) = [4; s(i).Centroid(1)-halfSide; s(i).Centroid(2)-halfSide; s(i).MajorAxisLength/2; s(i).MinorAxisLength/2; deg2rad(s(i).Orientation); 0; 0; 0; 0];
g = g + 1;
end
gd = [bound,elli];
ns = ns’;
[dl, ~] = decsg(gd,sf,ns);
%figure,pdegplot(dl,’EdgeLabels’,’on’,’FaceLabels’,’on’)
pdem = createpde;
g = geometryFromEdges(pdem,dl);
%figure,pdegplot(pdem,’EdgeLabels’,’on’,’FaceLabels’,’on’)
facets = facetAnalyticGeometry(pdem,g,0);
gm = analyticToDiscrete(facets);
pdem.Geometry = gm;
figure,pdegplot(pdem,’EdgeLabels’,’on’,’FaceLabels’,’on’)Hello all, I am attempting to generate a decomposed geometry matrix of various ellipses in a square region using decsg in order to then extrude the geometry into 3D and mesh for use in a static structural model in the pde toolbox.
However, some of the ellipses (#4 when included with #s 1-3 or #19 when included with the rest) cause decsg to fail when included in the decsg inputs as so:
Error using decsg
Unable to decompose objects in the geometry description matrix into minimal regions.
Error in scatteredEllipses (line 42)
[dl, ~] = decsg(gd,sf,ns);
The scatteredEllipses function is presented below in its entirety, I have also attached the force_x, force_y, and force_z variables within forces.mat which are 512×512 double matrices of force magnitudes which represent desired ellipse locations.
clearvars -except force*; close all;
%% Fit ellipses to each traction island
tractionMask = abs(force_x) + abs(force_y) + abs(force_z); %combine x,y,z tractions to create mask of all nonzero elements
tractionMask(tractionMask ~= 0) = 1; %convert nonzero elements to 1
cc = bwconncomp(tractionMask); %get all connected ellipse regions
s = regionprops(cc,{‘Centroid’,’Orientation’,’MajorAxisLength’,’MinorAxisLength’}); %fit ellipse parameters to each detected region
figure, imshow(tractionMask,[]), hold on
theta = linspace(0,2*pi);
orientationList = zeros(size(s,1),2);
for i = 1:length(s)
col = (s(i).MajorAxisLength/2)*cos(theta);
row = (s(i).MinorAxisLength/2)*sin(theta);
M = makehgtform(‘translate’,[s(i).Centroid, 0],’zrotate’,deg2rad(-1*s(i).Orientation));
[orientationList(i,1),orientationList(i,2)] = pol2cart(deg2rad(-1*s(i).Orientation),1);
D = M*[col;row;zeros(1,numel(row));ones(1,numel(row))];
plot(D(1,:),D(2,:),’r’,’LineWidth’,2); hold on
s(i).Orientation = -1 * s(i).Orientation; %convert orientation to xy coordinate frame
end
%axis xy
hold off
%% Generate geometry
meshPtsFwdSol = 512;
halfSide = meshPtsFwdSol/2;
bound = [3; 4; -halfSide; halfSide; halfSide; -halfSide; halfSide; halfSide; -halfSide; -halfSide];
ns = char(‘bound’);
sf = ‘bound’;
full = 1:length(s);
workingSubset = 4:length(s)-1;
g = 1;
for i = workingSubset %switch with full to cause error
sf = [sf,’+elli’,num2str(g)];
ns = char(ns,[‘elli’,num2str(g)]);
elli(:,g) = [4; s(i).Centroid(1)-halfSide; s(i).Centroid(2)-halfSide; s(i).MajorAxisLength/2; s(i).MinorAxisLength/2; deg2rad(s(i).Orientation); 0; 0; 0; 0];
g = g + 1;
end
gd = [bound,elli];
ns = ns’;
[dl, ~] = decsg(gd,sf,ns);
%figure,pdegplot(dl,’EdgeLabels’,’on’,’FaceLabels’,’on’)
pdem = createpde;
g = geometryFromEdges(pdem,dl);
%figure,pdegplot(pdem,’EdgeLabels’,’on’,’FaceLabels’,’on’)
facets = facetAnalyticGeometry(pdem,g,0);
gm = analyticToDiscrete(facets);
pdem.Geometry = gm;
figure,pdegplot(pdem,’EdgeLabels’,’on’,’FaceLabels’,’on’) Hello all, I am attempting to generate a decomposed geometry matrix of various ellipses in a square region using decsg in order to then extrude the geometry into 3D and mesh for use in a static structural model in the pde toolbox.
However, some of the ellipses (#4 when included with #s 1-3 or #19 when included with the rest) cause decsg to fail when included in the decsg inputs as so:
Error using decsg
Unable to decompose objects in the geometry description matrix into minimal regions.
Error in scatteredEllipses (line 42)
[dl, ~] = decsg(gd,sf,ns);
The scatteredEllipses function is presented below in its entirety, I have also attached the force_x, force_y, and force_z variables within forces.mat which are 512×512 double matrices of force magnitudes which represent desired ellipse locations.
clearvars -except force*; close all;
%% Fit ellipses to each traction island
tractionMask = abs(force_x) + abs(force_y) + abs(force_z); %combine x,y,z tractions to create mask of all nonzero elements
tractionMask(tractionMask ~= 0) = 1; %convert nonzero elements to 1
cc = bwconncomp(tractionMask); %get all connected ellipse regions
s = regionprops(cc,{‘Centroid’,’Orientation’,’MajorAxisLength’,’MinorAxisLength’}); %fit ellipse parameters to each detected region
figure, imshow(tractionMask,[]), hold on
theta = linspace(0,2*pi);
orientationList = zeros(size(s,1),2);
for i = 1:length(s)
col = (s(i).MajorAxisLength/2)*cos(theta);
row = (s(i).MinorAxisLength/2)*sin(theta);
M = makehgtform(‘translate’,[s(i).Centroid, 0],’zrotate’,deg2rad(-1*s(i).Orientation));
[orientationList(i,1),orientationList(i,2)] = pol2cart(deg2rad(-1*s(i).Orientation),1);
D = M*[col;row;zeros(1,numel(row));ones(1,numel(row))];
plot(D(1,:),D(2,:),’r’,’LineWidth’,2); hold on
s(i).Orientation = -1 * s(i).Orientation; %convert orientation to xy coordinate frame
end
%axis xy
hold off
%% Generate geometry
meshPtsFwdSol = 512;
halfSide = meshPtsFwdSol/2;
bound = [3; 4; -halfSide; halfSide; halfSide; -halfSide; halfSide; halfSide; -halfSide; -halfSide];
ns = char(‘bound’);
sf = ‘bound’;
full = 1:length(s);
workingSubset = 4:length(s)-1;
g = 1;
for i = workingSubset %switch with full to cause error
sf = [sf,’+elli’,num2str(g)];
ns = char(ns,[‘elli’,num2str(g)]);
elli(:,g) = [4; s(i).Centroid(1)-halfSide; s(i).Centroid(2)-halfSide; s(i).MajorAxisLength/2; s(i).MinorAxisLength/2; deg2rad(s(i).Orientation); 0; 0; 0; 0];
g = g + 1;
end
gd = [bound,elli];
ns = ns’;
[dl, ~] = decsg(gd,sf,ns);
%figure,pdegplot(dl,’EdgeLabels’,’on’,’FaceLabels’,’on’)
pdem = createpde;
g = geometryFromEdges(pdem,dl);
%figure,pdegplot(pdem,’EdgeLabels’,’on’,’FaceLabels’,’on’)
facets = facetAnalyticGeometry(pdem,g,0);
gm = analyticToDiscrete(facets);
pdem.Geometry = gm;
figure,pdegplot(pdem,’EdgeLabels’,’on’,’FaceLabels’,’on’) pde, pdetoolbox, decsg MATLAB Answers — New Questions
plotting power spectrum density
I have 2 .dat file with me one of amplitude and one of time and I want to do the powerspectrum analysis of the data. Can anyone please help me in creating a time vector for doing FFTI have 2 .dat file with me one of amplitude and one of time and I want to do the powerspectrum analysis of the data. Can anyone please help me in creating a time vector for doing FFT I have 2 .dat file with me one of amplitude and one of time and I want to do the powerspectrum analysis of the data. Can anyone please help me in creating a time vector for doing FFT fft, time vector MATLAB Answers — New Questions
Simulink Test Manager – create from model file and test harness seperate
I have a simulink model file, and a test harness file for that model. But the model was not linked to test harness file.
Actually i don’t want to modify anything in original model, so i don’t want to link model to test harmess.
So when i create test case in test manager, it can not found the test harness information. So is there anyway to directly assign model and test harness in a testcase by any API?I have a simulink model file, and a test harness file for that model. But the model was not linked to test harness file.
Actually i don’t want to modify anything in original model, so i don’t want to link model to test harmess.
So when i create test case in test manager, it can not found the test harness information. So is there anyway to directly assign model and test harness in a testcase by any API? I have a simulink model file, and a test harness file for that model. But the model was not linked to test harness file.
Actually i don’t want to modify anything in original model, so i don’t want to link model to test harmess.
So when i create test case in test manager, it can not found the test harness information. So is there anyway to directly assign model and test harness in a testcase by any API? test manager, simulink, test MATLAB Answers — New Questions
エンジントルクの求め方
Model Engine Timing Using Triggered Subsystems – MATLAB & Simulink – MathWorks
Equation 4でのTorqueの求め方の出典を教えてくださいModel Engine Timing Using Triggered Subsystems – MATLAB & Simulink – MathWorks
Equation 4でのTorqueの求め方の出典を教えてください Model Engine Timing Using Triggered Subsystems – MATLAB & Simulink – MathWorks
Equation 4でのTorqueの求め方の出典を教えてください torque MATLAB Answers — New Questions
How to define a function whose number of outputs depend on an input parameter value?
Say for M = 4, I have a code below.
function [c,ceq] = Constraint(M)
c = [];
for i=1:M
ceq_{i} = i;
end
ceq = [ceq_{1} ceq_{2} ceq_{3} ceq_{4}];
end
My question is for bigger values of M, how do I define the last ceq so that I don’t have to write each ceq_{i}’s individually?Say for M = 4, I have a code below.
function [c,ceq] = Constraint(M)
c = [];
for i=1:M
ceq_{i} = i;
end
ceq = [ceq_{1} ceq_{2} ceq_{3} ceq_{4}];
end
My question is for bigger values of M, how do I define the last ceq so that I don’t have to write each ceq_{i}’s individually? Say for M = 4, I have a code below.
function [c,ceq] = Constraint(M)
c = [];
for i=1:M
ceq_{i} = i;
end
ceq = [ceq_{1} ceq_{2} ceq_{3} ceq_{4}];
end
My question is for bigger values of M, how do I define the last ceq so that I don’t have to write each ceq_{i}’s individually? function, for loop, output MATLAB Answers — New Questions
Macro Excel : create an excel for each city and send it to the email adresse
Hello can you help me please ? i would like to create using excel VBA macro a code wich will create an Independent excel from with each city and send it to the corresponding mail in the excel.
For exemple in the following testing file : i would like to create an excel for each of the cities and send it to the following emails : also each of the excel will only include data of the city corresponding to the excel
GE SOTRemail address removed for privacy reasonsAD MAD NFemail address removed for privacy reasonsIALTERemail address removed for privacy reasonsLATTEemail address removed for privacy reasonsMOP DOTemail address removed for privacy reasons
(so it will basically create 5 excel and send them to these emails)
Thank you in advance for your help 🙂
Hello can you help me please ? i would like to create using excel VBA macro a code wich will create an Independent excel from with each city and send it to the corresponding mail in the excel. For exemple in the following testing file : i would like to create an excel for each of the cities and send it to the following emails : also each of the excel will only include data of the city corresponding to the excelGE SOTRemail address removed for privacy reasonsAD MAD NFemail address removed for privacy reasonsIALTERemail address removed for privacy reasonsLATTEemail address removed for privacy reasonsMOP DOTemail address removed for privacy reasons (so it will basically create 5 excel and send them to these emails)Thank you in advance for your help 🙂 Read More
Teams: Organisationsweit aktivieren
Hallo zusammen,
wir haben das Problem, dass wir im Admin-Center unter Einstellungen/Einstellungen der OrganisationseinstellungenMicrosoft Teams für alle benutzer aktivieren möchten und dabei
folgende Meldung erhalten und nicht wissen, was wir tun können:
Wir können Ihre Lizenzänerungen nicht speichern. Schließen Sie diese Einstellung, aktualisieren Sie die Seite und versuchen Sie es noch mal.
Wir haben bereits mehrere Browser verwendet, den Virenscanner und die Firewall deaktiviert – alles ohne Nutzen.
Hat hier jemand noch eine Idee?
Hallo zusammen, wir haben das Problem, dass wir im Admin-Center unter Einstellungen/Einstellungen der OrganisationseinstellungenMicrosoft Teams für alle benutzer aktivieren möchten und dabeifolgende Meldung erhalten und nicht wissen, was wir tun können: Wir können Ihre Lizenzänerungen nicht speichern. Schließen Sie diese Einstellung, aktualisieren Sie die Seite und versuchen Sie es noch mal. Wir haben bereits mehrere Browser verwendet, den Virenscanner und die Firewall deaktiviert – alles ohne Nutzen. Hat hier jemand noch eine Idee? Read More
Images are not displayed in incoming emails
Hello,
Since 10 days or so, Outlook 365 does not display images anymore. See below.
Note these images are displayed alright in the New Outlook, in https://outlook.live.com/ and in Mail under iOS.
Of course I have already unchecked both options in File/Options/Trust Center/Automatic Download. See below.
What else should I do to get those images painted?
Thank you!
Stefano
Hello,Since 10 days or so, Outlook 365 does not display images anymore. See below.Note these images are displayed alright in the New Outlook, in https://outlook.live.com/ and in Mail under iOS.Of course I have already unchecked both options in File/Options/Trust Center/Automatic Download. See below.What else should I do to get those images painted? Thank you!Stefano Read More
Policy Tip Text not working for some policies
Hi,
I have an issue with the Policy Tip Text not showing for a specific rule in Outlook. It does however show in OWA.
My rule is quite simple. Condition = File extension is docx, pdf, xlsx, pptx and Content is shared from Microsoft 365 with people outside my organisation.
The policy tip should appear and allow the user to override by providing a business justification.
The policy tip does not appear in the Outlook client, but does appear in OWA.
If I change the condition to Recipient Domain is hotmail.com, gmail.com and Content is shared from Microsoft 365 with people outside my organisation then the policy tip does appear.
Does the policy tip not work when using file extensions in the Outlook Client?
Secondly, when the rule is configured as Condition = File extension is docx, pdf, xlsx, pptx and Content is shared from Microsoft 365 with people outside my organisation, sending through OWA (with the user overriding the policy restriction), the email is still blocked from being sent to an external recipient. The email is sent, but the DLP rule still blocks the email and the user receives the email block notification.
I have other policies where the override works successfully.
Any ideas on how to fix this issues?
Thanks,
Ben
Hi,I have an issue with the Policy Tip Text not showing for a specific rule in Outlook. It does however show in OWA.My rule is quite simple. Condition = File extension is docx, pdf, xlsx, pptx and Content is shared from Microsoft 365 with people outside my organisation. The policy tip should appear and allow the user to override by providing a business justification. The policy tip does not appear in the Outlook client, but does appear in OWA. If I change the condition to Recipient Domain is hotmail.com, gmail.com and Content is shared from Microsoft 365 with people outside my organisation then the policy tip does appear.Does the policy tip not work when using file extensions in the Outlook Client? Secondly, when the rule is configured as Condition = File extension is docx, pdf, xlsx, pptx and Content is shared from Microsoft 365 with people outside my organisation, sending through OWA (with the user overriding the policy restriction), the email is still blocked from being sent to an external recipient. The email is sent, but the DLP rule still blocks the email and the user receives the email block notification. I have other policies where the override works successfully. Any ideas on how to fix this issues? Thanks,Ben Read More
Feature request: ability to submit feedback on EDR blocks
Good day,
I’d like to suggest to add the ability to report behavioral blocks to Microsoft for a review.
The current reporting feature is focused on files and hashes and requires a file or hash to be able to submit something – which does not make any sense for behavioral detections.
To make it a bit clearer I attached a screenshot of a behavioral false positive – there is currently no lightweight approach to report that I believe – but we’d really love to be able to provide quicker feedback on behavioral blocks.
Good day, I’d like to suggest to add the ability to report behavioral blocks to Microsoft for a review.The current reporting feature is focused on files and hashes and requires a file or hash to be able to submit something – which does not make any sense for behavioral detections. To make it a bit clearer I attached a screenshot of a behavioral false positive – there is currently no lightweight approach to report that I believe – but we’d really love to be able to provide quicker feedback on behavioral blocks. Read More
App running as background process
I use this to open my company portal via powershell :
start-process companyportal:
please is there any way to run company portal on background (task manager) without display the company portal on desktop.
thanks.
I use this to open my company portal via powershell :start-process companyportal:please is there any way to run company portal on background (task manager) without display the company portal on desktop.thanks. Read More
Identifier(s) in API calls to load mail folders and mails from folders
Hi all.
I am trying to load user folders with call to list user folders , and later emails for given folder with call to list emails in given folder .
In both calls common part is:
GET /users/{id | userPrincipalName}…
On Azure portal userPrincipalName parameter is editable:
Is it a must to use Object ID (below) for accessing user and so forth ?
For my use case it would be of great benefit to use User principal name , but what happens if someone changes it ?
Thanks in advance,
Dragan
Hi all. I am trying to load user folders with call to list user folders , and later emails for given folder with call to list emails in given folder .In both calls common part is:GET /users/{id | userPrincipalName}…On Azure portal userPrincipalName parameter is editable:Is it a must to use Object ID (below) for accessing user and so forth ?For my use case it would be of great benefit to use User principal name , but what happens if someone changes it ? Thanks in advance,Dragan Read More
Syncing Project to Planner
I’d like to use a PowerAutomate flow to sync my MS Project Online to MS Planner (it would be amazing if I could sync so that the tasks are copied to the same buckets that I defined in Project Online and in Planner too). I haven’t been able to find a flow that will help me achieve this Project Online to Planner synchronization. Does anyone have suggestions?
I’d like to use a PowerAutomate flow to sync my MS Project Online to MS Planner (it would be amazing if I could sync so that the tasks are copied to the same buckets that I defined in Project Online and in Planner too). I haven’t been able to find a flow that will help me achieve this Project Online to Planner synchronization. Does anyone have suggestions? Read More
Top Stories: May 21, 2024
Take a look!
English Top Stories: May 21, 2024 | Microsoft
Français À la une : 21 mai 2024 | Microsoft
Español Novedades más relevantes: 21 de mayo de 2024 | Microsoft
Português Blog de parceiro das Américas | Microsoft
Take a look!
English Top Stories: May 21, 2024 | Microsoft
Français À la une : 21 mai 2024 | Microsoft
Español Novedades más relevantes: 21 de mayo de 2024 | Microsoft
Português Blog de parceiro das Américas | Microsoft Read More
steps to transfer 365 accounts with email from service provider to self manage
We have our 365 accounts managed by a service provider. we want to stop using their services so we need to transfer administration of our accounts to self administor. where can I find instructions so I can make sure we don’t have any loss of data. The microsoft account subscriptions are through the service provider so we need to purchase our own subscriptions for email and office (desktop). I know how to self manage 365 accounts, but I want to make sure with the transfer we don’t lose our email data with the transfer from their subscriptions to our own.
We have our 365 accounts managed by a service provider. we want to stop using their services so we need to transfer administration of our accounts to self administor. where can I find instructions so I can make sure we don’t have any loss of data. The microsoft account subscriptions are through the service provider so we need to purchase our own subscriptions for email and office (desktop). I know how to self manage 365 accounts, but I want to make sure with the transfer we don’t lose our email data with the transfer from their subscriptions to our own. Read More
Announcing key updates to Responsible AI features and content filters in Azure OpenAI Service
We’re excited to announce the release of new Responsible AI features and content filter improvements in Azure OpenAI Service (AOAI) and AI Studio, spanning from new unified content filters, to customizable content filters for DALL-E and GPT-4 Turbo Vision deployments, safety system message templates in the AOAI Studio, asynchronous filters now available for all AOAI customers, and updates to protected material and image generation features.
Unified content filters
We are excited to announce that a new unified content filter experience is coming soon to Azure AI. This update will streamline the process of setting up content filters across different deployments and various products such as Azure AI Studio, AOAI, and Azure AI Content Safety for a more uniform user experience. Content filters enable users to effectively block harmful content, whether it’s text, images, or multimodal forms. With this unified approach, users have the flexibility to establish a content filtering policy tailored to their particular needs and scenarios.
Configurable content filters for DALL-E and GPT-4 Turbo with Vision GA
The integrated content filtering system in AOAI provides Azure AI Content Safety content filters by default, and they detect and the output of harmful content. Furthermore, we also provide a range of different content safety customization options for the AOAI GPT model series. Today, we are releasing configurable content filters for DALL-E 2 and 3, and GPT-4 Turbo Vision GA deployments, enabling content filter customization based on specific use case needs. Customers can configure input and output filters, adjust severity levels for the content harms categories and add additional applicable RAI models and capabilities such as Prompt Shields and custom blocklists. Customers who have been approved for modified content filters can turn the content filters off or use annotate mode to return annotations via API response, without blocking content. Learn more.
Asynchronous Filters
In addition to the default streaming experience in AOAI – where completions are vetted before they are returned to the user, or blocked in case of a policy violation – we’re excited to announce that all customers now have access to the Asynchronous Filter feature. Content filters are run asynchronously, and completion content is returned immediately with a smooth and fast token-by-token streaming experience. No content is buffered, which allows for a faster streaming experience at zero latency associated with content safety. Customers must be aware that while the feature improves latency, it’s a trade-off against the safety and real-time vetting of smaller sections of model output. Because content filters are run asynchronously, content moderation messages and policy violation signals are delayed, which means some sections of harmful content that would otherwise have been filtered immediately could be displayed to the user. Content that is retroactively flagged as protected material may not be eligible for Customer Copyright Commitment coverage. Read more about Asynchronous Filter and how to enable it.
Safety System Messages
System messages for generative AI models are an effective strategy for additional AI content safety. The AOAI Studio and AI Studio are now supporting safety system message templates directly in the playground that can be quickly tested and deployed, covering a range of different safety related topics such as preventing harmful content, jailbreak attempts, as well as grounding instructions. Learn more.
Protected Materials
Protections for Azure OpenAI GPT-based models
In November 2023, Microsoft announced the release of Protected Material Detection for Text in AOAI and Azure AI Content Safety. Soon, this model will upgrade to version 2.0 and identifies content that highly resembles pre-existing content. This update also prevents attempts to subvert the filter by asking for known modifications of the original text, e.g. the original text with repeated characters or more whitespace. Soon, the Protected Material Detection for Code model version 2.0 will update its attribution feature to flag 2023 public GitHub repository code from flagging 2021 repository code.
Updated Features in Azure OpenAI Service DALL-E
AOAI now prevents DALL-E from generating works that closely resemble certain types of known creative content, such as studio characters and contemporary artwork. It does this by re-interpreting the text prompt to DALL-E, removing keywords or phrases associated with creative content categories. Below are examples showing image outputs before and after the modification is applied. Please note that the DALL-E model is non-deterministic and so is likely not going to generate the same image with the same prompt each time.
New Responsible AI features in Azure AI Content Safety & Azure AI Studio
Custom Categories
This week at Build 2024 we also previewed other important features for responsible AI, one of which will be coming soon to Azure OpenAI Service: Custom Categories. Learn more about Custom Categories.
Get started today
Visit Azure OpenAI Service Studio: oai.azure.com
Visit Azure AI Studio: ai.azure.com
Visit Azure AI Content Safety Studio: aka.ms/contentsafetystudio
Microsoft Tech Community – Latest Blogs –Read More
Gen AI simplified: The azure_ai extension now generally available on Azure Database for PostgreSQL
We are thrilled to announce the general availability of the azure_ai extension on Azure Database for PostgreSQL. The azure_ai extension allows developers to seamlessly integrate Azure AI services from within their database using SQL queries. In conjunction with vector data this simplifies building Gen AI applications on Azure Database for PostgreSQL.
Features and Capabilities
With the azure_ai extension, you can now access Azure OpenAI, Azure AI Language services, Azure Translation and Azure Machine learning services with simple function calls from within SQL.
The azure_ai extension enables
Generation of embeddings with embedding models of creating embeddings with dimensions ranging from 384 to 3072. Embeddings can be generated as a scalar single embedding or as a batch for a set of them. Along with native vector data type using vector extension, embeddings can be generated as data is inserted or updated.
Calling into Azure AI Language services to perform summarization, sentiment analysis , Key phrase extraction or PII detection on your data.
Real-time text translation within your database with Azure AI translator simplifies building multi-lingual applications.
Real-time predictions enable many scenarios such as fraud detection, product recommendations, predictive maintenance or predictive healthcare. You can invoke custom trained models or pre-trained models from Azure Machine learning catalog that are hosted on online endpoints. Online inferencing endpoints are a highly scalable way to operationalize models for real-time low latency requests with features such as auto-scale and rich monitoring and debugging support.
Getting Started
To learn more about the azure_ai extension, and how it simplifies building GenAI applications on, visit our documentation below:
Azure AI Extension.
Azure AI Language Services integration
Azure AI Text Translation
Azure AI real-time machine learning scoring.
Vectors on Azure Database for PostgreSQL
Generative AI Overview
To learn even more about our Flexible Server managed service, see the Azure Database for PostgreSQL Flexible Server.
You can always find the latest features added to Flexible server in this release notes page.
Microsoft Tech Community – Latest Blogs –Read More
Build 2024: Unveiling performance and AI innovations in Azure Database for MySQL
Today, we’re thrilled to announce a suite of new features for Azure Database for MySQL that focus on performance enhancements, enterprise capabilities, and cutting-edge AI functionality designed to revolutionize your database management experience and efficiency. Read on to see how these innovations can elevate your workflows!
Microsoft Copilot in Azure: Unlock the benefits of Azure Database for MySQL with your AI companion (Public Preview)
We’re excited to announce Microsoft Copilot in Azure extends capabilities to Azure Database for MySQL. Microsoft Copilot in Azure is an AI-powered tool that leverages Large Language Models (LLMs) and the Azure control plane to help you get answers to your general questions and receive high quality recommendations to real-time problems. With this new integration with Azure Database for MySQL, you can converse with Microsoft Copilot in Azure to discover new features, determine when to enable new features to supplement your own scenarios, learn from summarized tutorials to enable features or build applications, and obtain tips and best practice recommendations to avoid issues.
Learn more: Documentation | Announcement blog with demo video coming soon!
Build RAG applications with Azure OpenAI and MySQL with Azure AI Search
We’re excited to announce that you can now create Retrieval-Augmented Generation (RAG) applications using Azure OpenAI and Azure Database for MySQL with Azure AI Search.
You can combine the smart, human-like responses of Azure OpenAI with MySQL’s powerful database management and Azure AI Search’s advanced search capabilities, making it easier to build apps that deliver relevant info quickly and efficiently. If you’re running applications (content management systems (CMS), e-commerce applications, or gaming sites) with data hosted in Azure Database for MySQL, enhance your user experience by building generative AI search and chat applications using LLMs available in Azure OpenAI and vector storage and indexing provided by Azure AI Search. Unleash the power of your data hosted on MySQL with the simple and seamless AI integrations on Azure!
Learn more: Demo video and sample architecture coming soon! | RAG in Azure AI Search documentation
Advancements in Azure Database for MySQL – Business Critical service tier (General Availability)
Achieve a 2x increase in throughput using Accelerated Logs (General Availability): We’re excited to announce the General Availability of Accelerated Logs, a feature that significantly boosts performance for write heavy workloads, offering up to a 2x improvement in throughput, out of the box, with no additional cost or application changes required. By reducing latency and enhancing data access speeds, the Accelerated Logs feature ensures that your mission-critical applications run more efficiently and smoothly on the Business Critical service tier. Try out this new feature to experience the difference in your workload performance!
Expand storage up to 32TB (General Availability) for your workloads using the Business Critical service tier. With storage auto-grow up to 32TB and auto-scale IOPs up to 80K, you can now run your large, growing mission-critical workloads worry-free on Azure!
Learn more: Documentation | Announcement blog with demo video coming soon!
Enhance data redundancy, availability, and auditing capabilities with on-demand backup and export (Public Preview)
With Public Preview of the on-demand backup and export feature, you can now easily export a physical backup of your MySQL flexible server to an Azure storage account (Azure blob storage) with just a few clicks on the Azure portal or with a single CLI command whenever you want. After exporting backups to blob storage, you can use them for multiple purposes, including:
Data recovery, redundancy, and availability. In addition to the automated backups managed by the service, you can export backups on-demand and use them for data recovery. In case of data corruption, accidental deletion, or hardware failure, simply restore the server to its previous state using this copy of your data.
Auditing. You can use exported physical backup files to restore on-premises MySQL servers to address the auditing, compliance, and archival requirements of an organization.
Compliance. Regulated industries must be able to export any data hosted by a cloud provider.
Avoid vendor lock in. Thake advantage of this solution to export data from MySQL flexible server or avoid vendor lock-in.
Learn more: Documentation | Announcement blog with demo video coming soon!
Simplify security management with Microsoft Defender for Cloud support (General Availability)
Last month, we announced the general availability of Microsoft Defender for Cloud support for Azure Database for MySQL – Flexible Server. The Defender for Cloud Advanced Threat Protection (ATP) feature simplifies security management of your MySQL flexible server by enabling effortless threat prevention, detection, and mitigation through increased visibility into and control over harmful events.
With the Defender for Cloud ATP feature, there’s no need to be a security expert to safeguard your MySQL flexible server against today’s growing threat landscape. ATP uses integrated security monitoring to detect anomalous database access and query patterns, as well as suspicious database activities, and provides targeted security recommendations and alerts.
Learn more: Demo video | Announcement blog
Conclusion
With the release of these capabilities, Azure Database for MySQL continues to be an industry leader for hosting your mission-critical applications on the cloud, offering top-tier performance for your workloads, enterprise capabilities and scale, enhanced monitoring, and robust backup and restore capabilities. The service seamlessly integrates with cutting-edge AI technologies through OpenAI, Azure Copilot, and Azure AI Search to deliver advanced functionalities and insights. Security is paramount, and with Microsoft Defender, your applications are protected by Microsoft’s expertise in cybersecurity, ensuring peace of mind against increasingly sophisticated threats. Azure Database for MySQL combines performance, innovation, and security to support your most demanding applications, while remaining on the open-source community MySQL version to protect against lock-ins.
To learn more about what’s new with Flexible Server, see What’s new in Azure Database for MySQL – Flexible Server. Stay tuned for more updates and announcements by following us on social media: YouTube | LinkedIn | X.
If you have any suggestions for or queries about our service, please let us know by emailing us at AskAzureDBforMySQL@service.microsoft.com. Thank you!
Microsoft Tech Community – Latest Blogs –Read More
Live at Build: Microsoft Learn releases new AI skill-building resources
Microsoft Learn is excited to be at Microsoft Build again this year with a fantastic new onsite presence and to share announcements about new resources to support AI skill-building.
When it comes to AI, having the right resources to develop critical new skills can be a game changer, whether you’re managing your organization’s training needs or advancing your own career. The 2024 Work Trend Index Annual report from Microsoft and LinkedIn suggests a massive opportunity for those willing to skill up in AI—66% of leaders say they wouldn’t hire someone without AI skills.
If you’re a developer learning to build AI-powered solutions, a team lead looking to skill up a team, or a leader looking to understand the benefits that Microsoft Copilot can bring to your organization, Microsoft Learn has something for you. That’s why we’re thrilled to announce the new AI skill-building resources we’re releasing today at Microsoft Build:
NEW AI Applied Skills releasing in May and June.
NEW Plans for AI skill-building.
NEW Copilot learning hub.
Additionally, I’m pleased to introduce two new AI skill-building offerings designed for non-technical roles:
NEW Copilot for Microsoft 365 training sessions for business users.
COMING SOON AI instructor-led training for business leaders.
Read on for more details about these exciting announcements.
Growing the Microsoft Applied Skills for AI portfolio
We developed Microsoft Applied Skills, new verifiable credentials that validate specific real-world skills, to help you address your skills gaps and empower you with the in-demand expertise you need. The positive feedback we’re receiving about the great value these credentials offer to individuals and organizations motivates us to keep expanding the portfolio.
During May and June we’re releasing new Applied Skills credentials to support developers who build AI and cloud solutions, including:
Develop AI agents using Microsoft Azure OpenAI and Semantic Kernel
Implement a data science and machine learning solution with Microsoft Fabric
Implement a Real-Time Intelligence solution with Microsoft Fabric
We’re also releasing new credentials for key cloud scenarios relevant to IT professionals:
Administer Active Directory Domain Services
Deploy and manage Microsoft Azure Arc–enabled servers
Explore Microsoft Applied Skills
The current portfolio of Microsoft Credentials includes over 20 Microsoft Applied Skills and close to 50 industry-recognized Microsoft Certifications, providing you with verifiable skill sets aligned with AI and cloud job roles and projects. Learn more about Microsoft Credentials.
Stay focused on your AI skill-building with new Plans
To stay current with today’s job skills, it’s important to have the right training content. Organizational team leaders and trainers must have the ability to customize and share this content, encourage their learners to stay on track, and monitor learning progress.
Today we’re introducing new AI skill-building Plans on Microsoft Learn, designed to meet all these objectives and more. Plans help learners, teams, and organizations accelerate the achievement of their learning goals using curated sets of structured content combined with milestones and automated nudges to keep learners focused and motivated. Get all the details about Plans in our recent blog post Introducing Plans on Microsoft Learn.
Find our new AI Plans on the AI learning hub on Microsoft Learn:
Master the basics of Azure: AI Fundamentals
Microsoft Copilot for Microsoft 365 for executives
Using AI in your everyday work: GitHub Copilot
Learn to create apps and modernize with Azure OpenAI
Check out the new Copilot learning hub
We’re also excited to announce the new Copilot learning hub on Microsoft Learn, the place where technology professionals can find resources—tailored to their job role and career goals—to help them develop the skills to put Microsoft Copilot to work every day.
As a complement to the already existing AI learning hub, this new hub offers tutorials, videos, and documentation covering the basics of Copilot, along with its features, capabilities, prompting techniques, best practices, and troubleshooting tips. The learning hub also showcases real-world examples and use cases of Copilot in different domains and scenarios, including content specific to developers, data and IT professionals, security analysts, and more.
Microsoft Learn is here to support your AI learning goals, whatever they may be. Choose the AI learning hub when looking to gain skills in all Microsoft’s AI apps and services, regardless of your business or technical role. Choose the Copilot learning hub when looking to deepen your technical expertise in Microsoft Copilot.
Visit the Copilot learning hub
New live Microsoft Copilot for Microsoft 365 training sessions for business users
The widespread adoption of AI across organizations requires a new approach to skill-building that focuses on upskilling all staff, from leadership and IT to business users, enabling them to fully leverage their AI investments.
I’m pleased to announce a new series of live Microsoft Copilot for Microsoft 365 training sessions for business users designed to help key roles in your organization learn how to use Microsoft Copilot for Microsoft 365 to unlock productivity. Each session is delivered in less than one hour and is available in multiple languages and time zones.
The training content is tailored to the following roles:
Executives—Learn how Copilot can synthesize communication history in Teams and create speeches and presentations with Word and PowerPoint.
Sales—Learn how Copilot helps with market research, reports, and recommendations. Use it for sales deals, contracts, and more.
IT—Learn how to use Copilot to summarize a product spec document, create a project plan and business presentation, and draft an email with highlights for a network security product.
Marketing—Learn how to use Copilot to analyze market trends, forecast sales, generate campaign ideas, and consolidate reports.
Finance—Learn how to use Copilot to analyze a spreadsheet with projected revenue, create a marketing campaign report, and summarize your company’s financial statement results.
HR—Learn how to use Copilot to create a job description, analyze multiple resumes, create interview questions and a candidate report, and compose an offer letter to a candidate.
Ops—Learn how to use Copilot to brainstorm a project plan, locate and summarize email threads, troubleshoot equipment issues, and create customer discovery questions.
Explore Microsoft Copilot for Microsoft 365 training sessions
Instructor-led training coming soon: Microsoft AI for business leaders
Microsoft Learn is also releasing our latest instructor-led training (ILT) called Microsoft AI for business leaders, which is designed to help business leaders find the knowledge and resources to adopt AI in their organizations. The training explores planning, strategizing, and scaling AI projects in a responsible way, focusing on use cases, tools, and insights from industry-specific AI success stories such as healthcare, finance, sustainability, retail, and manufacturing.
This new AI-focused training will be available in July 2024 through select Training Services Partners (TSP) with the expertise to deliver unique value to business leaders. Authorized TSPs offer a breadth of training solutions including blended learning, in-person, and online to meet your learning objectives.
Stay tuned for more information about this new AI instructor-led training.
Find AI-ready Training Services Partners
Explore AI skill-building with Microsoft Learn
Microsoft Learn is leading the way in bringing the latest AI skilling and credentials to our community of learners. We’ll continue to help you gain the skills you need to achieve more with technology, through interactive training and resources on Microsoft products and services. We look forward to sharing more news and updates in the coming weeks.
Continue your learning journey beyond Build at Microsoft Learn.
Microsoft Tech Community – Latest Blogs –Read More
Announcing Custom Categories in Azure AI Content Safety
We are excited to announce that Custom Categories is coming soon to Azure AI Content Safety. This new feature enables you to create your own customized classifier based on your specific needs for content filtering and AI safety whether you want to detect sensitive content, moderate user-generated content, or comply with local regulations. Use Custom Categories to train and deploy your own custom content filter with ease and flexibility.
Feature Overview
The Azure AI Content Safety custom categories feature is powered by Azure AI Language, a service that provides advanced natural language processing capabilities for text analysis and generation. The custom categories feature is designed to provide a streamlined process for creating, training, and using custom content classification models.
Here’s an overview of the underlying workflow:
Deploy your custom category when you need it
We are offering two deployment options for our customers:
Custom Categories (Standard):
The Standard option for deploying custom categories is aimed at providing a thorough and robust filtering mechanism. It requires a minimum of 50 lines of natural language examples to train the category. This depth of training material ensures that the custom filter is well-equipped to identify and moderate the specified types of content accurately.
Deployment Timeframe: The Standard option is designed with a deployment window of within 24 hours, balancing speed with the need for a comprehensive understanding of the content to be filtered.
Custom Categories (Rapid):
The Rapid option caters to urgent content safety needs, allowing organizations to respond swiftly to emerging threats and incidents. It requires a definition and few natural language examples for deploying the text incident, or few example images for deploying the image incident. This reduced requirement facilitates quicker creation and deployment of custom filters.
Deployment Timeframe: This option emphasizes speed, enabling the deployment of new custom filters around just an hour for text, and few minutes for image. It is particularly useful for addressing immediate and unforeseen content safety challenges.
Both options serve to empower organizations with the capability to protect their AI applications and users more effectively against a wide array of harmful content and security risks, offering a balance between responsiveness and thoroughness based on the specific needs and circumstances.
How to use this feature?
Step 1: Definition and Setup
By creating a custom category, you are telling the AI exactly which types of content you wish to detect and mitigate. You need to create a clear category name and a detailed definition that encapsulates the content’s characteristics. The setup phase is crucial, as it lays the groundwork for the AI to understand your specific filtering needs.
Then, collect a balanced and small dataset with both positive and (optional) negative examples allows the AI to learn the nuances of the category. This data should be representative of the variety of content that the model will encounter in a real-world scenario.
Step 2: Model Training
Once you have your dataset ready, the Azure AI Content Safety service uses it to train a new model. During training, the AI analyzes the data, learning to distinguish between content that matches the custom category and content that does not. Built on top of the underlying technology of LLM-powered low-touch customization from Azure AI Language, we are tailoring the experience for Content Safety customer towards consistency and more focus on content moderation scenario.
Step 3: Model Inferencing
After training, you need to evaluate the model to ensure it meets your accuracy requirements. This is done by testing the model with new content that it hasn’t seen before. The evaluation phase helps you identify any potential adjustments needed before deploying the model into a production environment.
Step 4: Iteration
In the upcoming release of custom categories studio experience, we will introduce a feature that allows users to modify their definition and training samples using suggestions generated by GPT.
Join our customers using Custom Categories
South Australia Department for Education
“The Custom Categories feature from Azure AI Content Safety is set to be a game-changer for the Department for Education in South Australia, and our pioneering AI chatbot, EdChat. This new feature allows us to tailor content moderation to our specific standards, ensuring a safer and more appropriate experience for users. It’s a significant step towards prioritizing the safety and well-being of our students in the digital educational space.”
– Dan Hughes, Chief Information Officer, South Australia Department for Education
Learn more about how South Australia Department for Education is using Azure AI Content Safety
Stay tuned!
Thank you for your support as we continue to enhance our platform. We are excited for you to begin using custom categories. Stay tuned for more updates and announcements on our progress.
In the meantime, we encourage you to visit our Content Safety documentation or studio to explore the existing capabilities available to you. Custom categories is also coming soon to Azure AI Studio and Azure OpenAI Service.
Microsoft Tech Community – Latest Blogs –Read More