Coder Social home page Coder Social logo

azure / aihub Goto Github PK

View Code? Open in Web Editor NEW
39.0 4.0 19.0 11.84 MB

AI Hub Executive Demo HandsOn

Home Page: https://azure.github.io/aihub

License: MIT License

C# 18.89% HTML 44.76% CSS 0.78% JavaScript 8.14% Dockerfile 0.34% HCL 20.29% Python 5.52% Shell 0.57% PowerShell 0.70%

aihub's Issues

Fix build warnings

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]

Chat on your data - change the default questions

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.

  • Make me a summary of the document
  • Get me the most relevant topics of the document
  • Explain the document for a CEO
  • Explain the document for a kid
  • Translate the main topics of the document to X language

Manual deployment step failed: OpenAI

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.

Newer versions of Hugo are not supported by the Dev Container when working locally with `docs`

Currently, the Dev Container configuration uses the latest version of Hugo:

"ghcr.io/devcontainers/features/hugo:1": {
"extended": true,
"version": "latest"
},

However, the latest version 0.126.1 is not compatible with the current state of the code, and the following errors are thrown:

image

Or:

image

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.

Destroying the infrastructure leaves the Azure API Management in an invalid state

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.

Manual deployment step failed: DOTNET:8.0 runtime

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.

Where is Semantic Kernel used?

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.