Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update VideoAnalyzer #34

Merged
merged 3 commits into from
Apr 21, 2024
Merged

Update VideoAnalyzer #34

merged 3 commits into from
Apr 21, 2024

Conversation

Manuss20
Copy link
Contributor

@Manuss20 Manuss20 commented Apr 15, 2024

This pull request introduces a new feature to the application that allows users to analyze videos using Azure OpenAI Services. The most important changes include the creation of a new VideoAnalyzerController that handles video analysis requests, a VideoAnalyzerModel that stores the results of the analysis, and updates to the application's views to provide a user interface for this new functionality.

New Feature Implementation:

User Interface Updates:

Configuration Updates:

Client-side Script:

  • src/AIHub/wwwroot/js/ui/videoanalyzer.js: Added a new JavaScript file to handle the client-side functionality of the video analyzer feature, including file uploads and displaying analysis results.This pull request introduces a new Video Analyzer feature to the application. The feature uses Azure OpenAI Services and Azure Vision & Cognitive Services to analyze videos and provide comprehensive data about them. The most significant changes include the creation of a new VideoAnalyzerController, a new VideoAnalyzerModel, and updates to the UI to accommodate the new feature.

New Feature Implementation:

  • src/AIHub/Controllers/VideoAnalyzerController.cs: Created a new VideoAnalyzerController which handles video analysis. The controller uses configuration values for various API endpoints and keys, interacts with Azure Blob Storage, and makes HTTP requests to the relevant APIs for video analysis. It also includes methods for uploading videos and analyzing them.
  • src/AIHub/Models/VideoAnalyzerModel.cs: Created a new VideoAnalyzerModel which holds the results of the video analysis.

UI Changes:

Configuration Changes:

  • src/AIHub/appsettings.template.json: Added new configuration values for the VideoAnalyzer feature, including the OpenAI endpoint, Vision API endpoint, Vision Key, OpenAI Subscription Key, Container Name, and Deployment Name.

@rag2111 rag2111 merged commit 6a8da3c into Azure:main Apr 21, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants