Skip to content

Commit

Permalink
Merge pull request #22050 from abpframework/berkan/add-warning-to-com…
Browse files Browse the repository at this point in the history
…munity-article

Add security info to OpenAI integration article
  • Loading branch information
EngincanV authored Jan 30, 2025
2 parents 74d5168 + 8b4ddcc commit ee7826e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ dotnet add package Microsoft.Extensions.AI.OpenAI --prerelease

> Replace the value of the `Key` with your OpenAI API key.
> **Important Security Note**: Storing sensitive information like API keys in `appsettings.json` is not recommended due to security concerns. Please refer to the [official Microsoft documentation](https://learn.microsoft.com/en-us/aspnet/core/security/app-secrets) for secure secret management best practices.
Next, add the following code to the `ConfigureServices` method in `OpenAIIntegrationBlazorModule`:

```csharp
Expand Down

0 comments on commit ee7826e

Please sign in to comment.