azure / aihub Goto Github PK
View Code? Open in Web Editor NEWAI Hub Executive Demo HandsOn
Home Page: https://azure.github.io/aihub
License: MIT License
AI Hub Executive Demo HandsOn
Home Page: https://azure.github.io/aihub
License: MIT License
Change how images are analyzed from Azure Vision + GPT4 Turbo to GPT4 Turbo Vision. Add a text box for the user to enter a custom prompt
Add a use case where you can upload a video and you can ask a prompt to it
Currently, the file install_linux.sh
has EOLs that corresponds to Windows, not Linux. In some systems it may produce execution errors. Fix the EOLs from CR LF
to LF
.
Create an installer for linux based on the exiting one for windows (https://github.com/Azure/aihub/blob/main/install/install.ps1)
Add optional private endpoints for AI Services and Storage Accounts.
This will require APIM VNET Integration
Build output shows the following warnings that must me fixed:
D:\_dev\aihub\src\AIHub\SampleCode.cs(482,27): warning CS7022: The entry point of the program is global code; ignoring 'Program.Main(string[])' entry point. [D:\_dev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\CallCenterController.cs(16,20): warning CS8601: Possible null reference assignment. [D:\_dev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\CallCenterController.cs(17,27): warning CS8601: Possible null reference assignment. [D:\_dev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\CallCenterController.cs(13,12): warning CS8618: Non-nullable field '_logger' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [D:\_dev\aihub\src\AIH
ub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\CallCenterController.cs(13,12): warning CS8618: Non-nullable field 'endpoint' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [D:\_dev\aihub\src\AI
Hub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\CallCenterController.cs(13,12): warning CS8618: Non-nullable field 'subscriptionKey' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [D:\_dev\aihub
\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\CallCenterController.cs(13,12): warning CS8618: Non-nullable field 'storageconnstring' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [D:\_dev\aih
ub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\BrandAnalyzerController.cs(18,24): warning CS8601: Possible null reference assignment. [D:\_dev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\BrandAnalyzerController.cs(19,31): warning CS8601: Possible null reference assignment. [D:\_dev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\BrandAnalyzerController.cs(20,24): warning CS8601: Possible null reference assignment. [D:\_dev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\BrandAnalyzerController.cs(21,31): warning CS8601: Possible null reference assignment. [D:\_dev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\BrandAnalyzerController.cs(15,12): warning CS8618: Non-nullable field '_logger' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [D:\_dev\aihub\src\
AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\BrandAnalyzerController.cs(15,12): warning CS8618: Non-nullable field 'Bingendpoint' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [D:\_dev\aihub
\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\BrandAnalyzerController.cs(15,12): warning CS8618: Non-nullable field 'BingsubscriptionKey' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [D:\_de
v\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\BrandAnalyzerController.cs(15,12): warning CS8618: Non-nullable field 'AOAIendpoint' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [D:\_dev\aihub
\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\BrandAnalyzerController.cs(15,12): warning CS8618: Non-nullable field 'AOAIsubscriptionKey' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [D:\_de
v\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\BrandAnalyzerController.cs(15,12): warning CS8618: Non-nullable field 'storageconnstring' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [D:\_dev\
aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\ImageAnalyzerController.cs(31,26): warning CS8601: Possible null reference assignment. [D:\_dev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\ImageAnalyzerController.cs(32,23): warning CS8601: Possible null reference assignment. [D:\_dev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\ImageAnalyzerController.cs(33,33): warning CS8601: Possible null reference assignment. [D:\_dev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\ImageAnalyzerController.cs(34,24): warning CS8601: Possible null reference assignment. [D:\_dev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\ImageAnalyzerController.cs(35,31): warning CS8601: Possible null reference assignment. [D:\_dev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\FormAnalyzerController.cs(30,29): warning CS8601: Possible null reference assignment. [D:\_dev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\ImageAnalyzerController.cs(36,29): warning CS8601: Possible null reference assignment. [D:\_dev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\ImageAnalyzerController.cs(28,12): warning CS8618: Non-nullable field '_logger' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [D:\_dev\aihub\src\
AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\FormAnalyzerController.cs(31,36): warning CS8601: Possible null reference assignment. [D:\_dev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\ImageAnalyzerController.cs(28,12): warning CS8618: Non-nullable field 'Visionendpoint' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [D:\_dev\aih
ub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\FormAnalyzerController.cs(32,24): warning CS8601: Possible null reference assignment. [D:\_dev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\ImageAnalyzerController.cs(28,12): warning CS8618: Non-nullable field 'OCRendpoint' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [D:\_dev\aihub\
src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\FormAnalyzerController.cs(33,31): warning CS8601: Possible null reference assignment. [D:\_dev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\ImageAnalyzerController.cs(28,12): warning CS8618: Non-nullable field 'VisionsubscriptionKey' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [D:\_
dev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\FormAnalyzerController.cs(34,29): warning CS8601: Possible null reference assignment. [D:\_dev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\ImageAnalyzerController.cs(28,12): warning CS8618: Non-nullable field 'AOAIendpoint' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [D:\_dev\aihub
\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\FormAnalyzerController.cs(27,12): warning CS8618: Non-nullable field '_logger' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [D:\_dev\aihub\src\A
IHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\ImageAnalyzerController.cs(28,12): warning CS8618: Non-nullable field 'AOAIsubscriptionKey' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [D:\_de
v\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\FormAnalyzerController.cs(27,12): warning CS8618: Non-nullable field 'FormRecogEndpoint' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [D:\_dev\a
ihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\ImageAnalyzerController.cs(28,12): warning CS8618: Non-nullable field 'storageconnstring' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [D:\_dev\
aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\FormAnalyzerController.cs(27,12): warning CS8618: Non-nullable field 'FormRecogSubscriptionKey' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [D:
\_dev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\ImageAnalyzerController.cs(28,12): warning CS8618: Non-nullable field 'blobServiceClient' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [D:\_dev\
aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\ImageAnalyzerController.cs(28,12): warning CS8618: Non-nullable field 'result_image_front' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [D:\_dev
\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\FormAnalyzerController.cs(27,12): warning CS8618: Non-nullable field 'AOAIendpoint' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [D:\_dev\aihub\
src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\FormAnalyzerController.cs(27,12): warning CS8618: Non-nullable field 'AOAIsubscriptionKey' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [D:\_dev
\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\ImageAnalyzerController.cs(28,12): warning CS8618: Non-nullable field 'result_message_front' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [D:\_d
ev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\FormAnalyzerController.cs(27,12): warning CS8618: Non-nullable field 'storageconnstring' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [D:\_dev\a
ihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\FormAnalyzerController.cs(27,12): warning CS8618: Non-nullable field 'blobServiceClient' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [D:\_dev\a
ihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\FormAnalyzerController.cs(27,12): warning CS8618: Non-nullable field 'result_image_front' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [D:\_dev\
aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\FormAnalyzerController.cs(27,12): warning CS8618: Non-nullable field 'result_message_front' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [D:\_de
v\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\ContentSafetyController.cs(42,20): warning CS8601: Possible null reference assignment. [D:\_dev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\ContentSafetyController.cs(43,27): warning CS8601: Possible null reference assignment. [D:\_dev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\ContentSafetyController.cs(44,29): warning CS8601: Possible null reference assignment. [D:\_dev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\ContentSafetyController.cs(38,12): warning CS8618: Non-nullable field '_client' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [D:\_dev\aihub\src\
AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\ContentSafetyController.cs(38,12): warning CS8618: Non-nullable field 'blobServiceClient' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [D:\_dev\
aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\ContentSafetyController.cs(38,12): warning CS8618: Non-nullable field 'endpoint' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [D:\_dev\aihub\src
\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\ContentSafetyController.cs(38,12): warning CS8618: Non-nullable field 'subscriptionKey' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [D:\_dev\ai
hub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\ContentSafetyController.cs(38,12): warning CS8618: Non-nullable field 'storageconnstring' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [D:\_dev\
aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\CallCenterController.cs(33,29): warning CS8604: Possible null reference argument for parameter 'companyName' in 'bool CallCenterController.CheckNullValues(string companyName, string prompt)'. [D:\_
dev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\CallCenterController.cs(33,41): warning CS8604: Possible null reference argument for parameter 'prompt' in 'bool CallCenterController.CheckNullValues(string companyName, string prompt)'. [D:\_dev\a
ihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\CallCenterController.cs(69,39): warning CS0168: The variable 'ex' is declared but never used [D:\_dev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\HomeController.cs(14,12): warning CS8618: Non-nullable field '_config' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [D:\_dev\aihub\src\AIHub\AIH
ub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\HomeController.cs(14,12): warning CS8618: Non-nullable field '_client' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [D:\_dev\aihub\src\AIHub\AIH
ub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\HomeController.cs(14,12): warning CS8618: Non-nullable field 'endpoint' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [D:\_dev\aihub\src\AIHub\AI
Hub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\HomeController.cs(14,12): warning CS8618: Non-nullable field 'subscriptionKey' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [D:\_dev\aihub\src\A
IHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\HomeController.cs(14,12): warning CS8618: Non-nullable field 'storageconnstring' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [D:\_dev\aihub\src
\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\FormAnalyzerController.cs(80,41): warning CS8600: Converting null literal or possible null value to non-nullable type. [D:\_dev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\FormAnalyzerController.cs(88,39): warning CS8604: Possible null reference argument for parameter 'uriString' in 'Uri.Uri(string uriString)'. [D:\_dev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\FormAnalyzerController.cs(104,16): warning CS8602: Dereference of a possibly null reference. [D:\_dev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\FormAnalyzerController.cs(161,39): warning CS0168: The variable 'ex' is declared but never used [D:\_dev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\ImageAnalyzerController.cs(91,38): warning CS8602: Dereference of a possibly null reference. [D:\_dev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\ImageAnalyzerController.cs(139,31): warning CS8602: Dereference of a possibly null reference. [D:\_dev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\ImageAnalyzerController.cs(207,39): warning CS0168: The variable 'ex' is declared but never used [D:\_dev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\BrandAnalyzerController.cs(39,29): warning CS8604: Possible null reference argument for parameter 'companyName' in 'bool BrandAnalyzerController.CheckNullValues(string companyName)'. [D:\_dev\aihub
\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\BrandAnalyzerController.cs(69,24): warning CS8602: Dereference of a possibly null reference. [D:\_dev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\BrandAnalyzerController.cs(114,39): warning CS0168: The variable 'ex' is declared but never used [D:\_dev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\HomeController.cs(7,42): warning CS0169: The field 'HomeController._client' is never used [D:\_dev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\ContentSafetyController.cs(8,40): warning CS0169: The field 'ContentSafetyController.blobServiceClient' is never used [D:\_dev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\BrandAnalyzerController.cs(5,46): warning CS0169: The field 'BrandAnalyzerController._logger' is never used [D:\_dev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\ContentSafetyController.cs(6,42): warning CS0169: The field 'ContentSafetyController._client' is never used [D:\_dev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\CallCenterController.cs(5,46): warning CS0169: The field 'CallCenterController._logger' is never used [D:\_dev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\HomeController.cs(10,20): warning CS0169: The field 'HomeController.subscriptionKey' is never used [D:\_dev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\ImageAnalyzerController.cs(20,12): warning CS0169: The field 'ImageAnalyzerController.result_image_front' is never used [D:\_dev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\FormAnalyzerController.cs(19,12): warning CS0169: The field 'FormAnalyzerController.result_image_front' is never used [D:\_dev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\ImageAnalyzerController.cs(13,40): warning CS0169: The field 'ImageAnalyzerController.blobServiceClient' is never used [D:\_dev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\BrandAnalyzerController.cs(12,20): warning CS0169: The field 'BrandAnalyzerController.storageconnstring' is never used [D:\_dev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\CallCenterController.cs(10,20): warning CS0169: The field 'CallCenterController.storageconnstring' is never used [D:\_dev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\ImageAnalyzerController.cs(5,46): warning CS0169: The field 'ImageAnalyzerController._logger' is never used [D:\_dev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\ImageAnalyzerController.cs(21,12): warning CS0169: The field 'ImageAnalyzerController.result_message_front' is never used [D:\_dev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\HomeController.cs(11,20): warning CS0169: The field 'HomeController.storageconnstring' is never used [D:\_dev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\FormAnalyzerController.cs(12,40): warning CS0169: The field 'FormAnalyzerController.blobServiceClient' is never used [D:\_dev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\HomeController.cs(6,37): warning CS0169: The field 'HomeController._config' is never used [D:\_dev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\HomeController.cs(9,20): warning CS0169: The field 'HomeController.endpoint' is never used [D:\_dev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\FormAnalyzerController.cs(5,46): warning CS0169: The field 'FormAnalyzerController._logger' is never used [D:\_dev\aihub\src\AIHub\AIHub.csproj]
D:\_dev\aihub\src\AIHub\Controllers\FormAnalyzerController.cs(20,12): warning CS0169: The field 'FormAnalyzerController.result_message_front' is never used [D:\_dev\aihub\src\AIHub\AIHub.csproj]
Change default questions in the boxes of chat on your data to make them document/domain agnostic, and so that they are relevant for any indexed documents.
The following deployment step failed for me:
az openai create --name aihub-openai --resource-group aihub-rg --location westeurope
Error:
'openai' is misspelled or not recognized by the system.
Check policies announce here: Introducing GenAI Gateway Capabilities in Azure API Management and implement:
Currently, the Dev Container configuration uses the latest version of Hugo
:
aihub/.devcontainer/devcontainer.json
Lines 37 to 40 in 2f54549
However, the latest version 0.126.1
is not compatible with the current state of the code, and the following errors are thrown:
Or:
To fix this, it is necessary to either set fixed the version to 0.119.0
or update the code to work with the latest version.
Doing a destruction with terraform (terraform apply -destroy -auto-approve
) does not fully deletes the Azure API Management (APIM), and the following error is reported:
╷
│ Error: Failed to delete resource
│
│ deleting Resource: (ResourceId "/subscriptions/c23dfe1f-222e-4aa1-a8b6-6624b45373aa/resourceGroups/rg-aihub-0096a/providers/Microsoft.ApiManagement/service/apim-aihub-0096a" / Api Version
│ "2023-05-01-preview"): the response did not contain a body
╵
The issue Impossible destroy API Management StandardV2 was created in the terraform-provider-azapi repo to report this behaviour.
It seems that this problem only happens in the latest api-version 2023-05-01-preview
, and that it seems to work as expected in version 2023-03-01-preview
.
Thus, let's change the version of the API for the APIM an check the issue is solved.
Add Jailbreak Detection feature to the hub
Change the name of Form Recognizer in the solution Diagram --> Azure Document Intelligence :)
Recently, Microsoft updated the Azure OpenAI SDK from version 1.0.0-beta.17
to 2.0.0-beta.2
which introduces a lot of changes, most of them breaking.
This will keep the AI Hub code updated to the latest trends and changes in Azure OpenAI SDK.
Double check why JailBreak feature is not working.
After review seems that East US region does not support it.
OpenAI Plugins (Azure Functions) should not be deployed by default.
Add use case to compare 2 documents based in a prompt
In the call center feature, make the transcription box editable, so that the user can just take a template from the list, edit it or add a custom script.
The following deployment step failed for me:
az webapp create --name aihub-webapp --resource-group aihub-rg --plan aihub-appservice --runtime "DOTNET|8.0"
'8.0' is not recognized as an internal or external command,
operable program or batch file.
The runtime was not in the right format or not available.
Code should use System.Text.Json
instead of using both Newtonsoft.Json
and System.Text.Json
.
The documentation says that "AI Hub uses Semantic Kernel to orchestrate the prompts, Azure OpenAI calls and Azure Cognitive Search queries and results.", but I cannot find it.
Is it been used, and I have not been able to find it? Is it a plan but the document is ahead of the code? Was it removed and the document is obsolete? Is that in another branch or project?
When uploading an image or a video to analyze them.
Application is not working retuning a Bad Request.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.