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

Feature/ocs/upstream #3

Merged
merged 67 commits into from
Jun 12, 2024
Merged

Feature/ocs/upstream #3

merged 67 commits into from
Jun 12, 2024

Conversation

saoc90
Copy link
Collaborator

@saoc90 saoc90 commented Feb 6, 2024

  • Merged upstream changes
  • Add OTEL metrics
  • Add news section

thivy and others added 28 commits February 4, 2024 22:03
* Add Application Insights Provider

* Change from CRLF to LF

* Change biceps line ending

* Refactor ApplicationInsightsProvider and initializeTelemetry

* Add session parameter to initializeTelemetry function

* Add logger and track metrics for prompt and completion tokens

* Add OpenTelemetry instrumentation for metrics tracking

* Update model encoding to "gpt-4"

* Add OpenTelemetry metrics instrumentation

* Remove cleanup step

* Add chat metrics tracking and token service
* Add Application Insights Provider

* Change from CRLF to LF

* Change biceps line ending

* Refactor ApplicationInsightsProvider and initializeTelemetry

* Add session parameter to initializeTelemetry function

* Add logger and track metrics for prompt and completion tokens

* Add OpenTelemetry instrumentation for metrics tracking

* Update model encoding to "gpt-4"

* Add OpenTelemetry metrics instrumentation

* Remove cleanup step

* Add chat metrics tracking and token service
* Add Application Insights Provider

* Change from CRLF to LF

* Change biceps line ending

* Refactor ApplicationInsightsProvider and initializeTelemetry

* Add session parameter to initializeTelemetry function

* Add logger and track metrics for prompt and completion tokens

* Add OpenTelemetry instrumentation for metrics tracking

* Update model encoding to "gpt-4"

* Add OpenTelemetry metrics instrumentation

* Remove cleanup step

* Add chat metrics tracking and token service
Additional migration documentation plus updates to chat home
infra/resources.bicep Fixed Show fixed Hide fixed
infra/resources.bicep Fixed Show fixed Hide fixed
infra/resources.bicep Dismissed Show dismissed Hide dismissed
infra/resources.bicep Dismissed Show dismissed Hide dismissed
infra/resources.bicep Fixed Show fixed Hide fixed
infra/resources.bicep Dismissed Show dismissed Hide dismissed
This commit adds the functionality to display news articles in the ChatHome component. It introduces a new prop `news` to the `ChatHome` component, which accepts an array of `NewsArticleModel` objects. The news articles are fetched using the `FindAllNewsArticles` service.

The `ChatHome` component now renders the news articles section, displaying each article using the `NewsArticle` component. If there are no news articles available, a message indicating so is shown.

This feature enhances the user experience by providing relevant news articles within the chat interface.
infra/main.json Dismissed Show dismissed Hide dismissed
infra/main.json Dismissed Show dismissed Hide dismissed
infra/main.json Dismissed Show dismissed Hide dismissed
"kind": "SpeechServices",
"properties": {
"customSubDomainName": "[variables('speech_service_name')]",
"publicNetworkAccess": "Enabled"

Check failure

Code scanning / templateanalyzer

Use Cognitive Service Private Endpoints. Error

By default, a public endpoint is enabled for Cognitive Services accounts. The public endpoint is used for all access except for requests that use a Private Endpoint. Access through the public endpoint can be disabled or restricted to authorized virtual networks.
Data exfiltration is an attack where an malicious actor does an unauthorized data transfer. Private Endpoints help prevent data exfiltration by an internal or external malicious actor. They do this by providing clear separation between public and private endpoints. As a result, broad access to public endpoints which could be operated by a malicious actor are not required.
infra/main.json Dismissed Show dismissed Hide dismissed
"name": "[parameters('speechServiceSkuName')]"
}
},
{

Check failure

Code scanning / templateanalyzer

Storage Account minimum TLS version. Error

The minimum version of TLS that Azure Storage Accounts accept for blob storage is configurable. Older TLS versions are no longer considered secure by industry standards, such as PCI DSS.
Storage Accounts lets you disable outdated protocols and enforce TLS 1.2. By default, TLS 1.0, TLS 1.1, and TLS 1.2 is accepted.
infra/main.json Dismissed Show dismissed Hide dismissed
@saoc90
Copy link
Collaborator Author

saoc90 commented Jun 12, 2024

  • Merged upstream changes
  • Add OTEL metrics
  • Add news section

@saoc90 saoc90 merged commit d3c422d into main Jun 12, 2024
3 of 5 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.

4 participants