openai/openai-dotnet

Public

mirrored from https://github.com/openai/openai-dotnetAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
copilot/customize-openairesponsescontext-attribute

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

examples/aspnet-core/DependencyInjection.csproj

18lines · modecode

1<Project Sdk="Microsoft.NET.Sdk.Web">
2
3 <PropertyGroup>
4 <TargetFramework>net10.0</TargetFramework>
5 <Nullable>enable</Nullable>
6 <ImplicitUsings>enable</ImplicitUsings>
7 <UserSecretsId>1b00d5b5-1aea-4b67-a678-440cbdafa731</UserSecretsId>
8 <!-- This sample is meant to be copied/used standalone; opt out of the repo's central package management. -->
9 <ManagePackageVersionsCentrally>false</ManagePackageVersionsCentrally>
10 <!-- ResponsesClientSettings (and similar) are evaluation-only APIs in System.ClientModel/OpenAI; opt in for this sample. -->
11 <NoWarn>$(NoWarn);SCME0002</NoWarn>
12 </PropertyGroup>
13
14 <ItemGroup>
15 <PackageReference Include="OpenAI" Version="2.10.0" />
16 </ItemGroup>
17
18</Project>
19