openai/openai-dotnet

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
OpenAI_2.2.0-beta.1

Branches

Tags

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

Clone

HTTPS

Download ZIP

src/OpenAI.csproj

85lines · modeblame

3ce26bd7Ralph1 years ago1<Project Sdk="Microsoft.NET.Sdk">
9f9f2936Jose Arriaga Maldonado2 years ago2<PropertyGroup>
31c2ba63Jose Arriaga Maldonado1 years ago3<Description>
4The official .NET library for the OpenAI service API.
5</Description>
9f9f2936Jose Arriaga Maldonado2 years ago6<AssemblyTitle>SDK Code Generation OpenAI</AssemblyTitle>
dce79fc1Angelos Petropoulos1 years ago7<PackageTags>OpenAI;openai-dotnet;ChatGPT;Dall-E</PackageTags>
92c52d27Patrick Hallisey2 years ago8
9c04e789Jose Arriaga Maldonado1 years ago9<VersionPrefix>2.2.0</VersionPrefix>
10<VersionSuffix>beta.1</VersionSuffix>
92c52d27Patrick Hallisey2 years ago11
0e0c460cJose Arriaga Maldonado1 years ago12<TargetFrameworks>net8.0;net6.0;netstandard2.0</TargetFrameworks>
9f9f2936Jose Arriaga Maldonado2 years ago13<LangVersion>latest</LangVersion>
92c52d27Patrick Hallisey2 years ago14
15<!-- Generate an XML documentation file for the project. -->
9f9f2936Jose Arriaga Maldonado2 years ago16<GenerateDocumentationFile>true</GenerateDocumentationFile>
d5b5c604Liudmila Molkova2 years ago17
92c52d27Patrick Hallisey2 years ago18<!-- Publish the repository URL in the built .nupkg (in the NuSpec <Repository> element) -->
19<PublishRepositoryUrl>true</PublishRepositoryUrl>
cafb255fWes Haggard2 years ago20<PackageIcon>OpenAI.png</PackageIcon>
21<PackageReadmeFile>README.md</PackageReadmeFile>
92c52d27Patrick Hallisey2 years ago22
23<!-- Create a .snupkg file in addition to the .nupkg file. -->
24<IncludeSymbols>true</IncludeSymbols>
25<SymbolPackageFormat>snupkg</SymbolPackageFormat>
d5b5c604Liudmila Molkova2 years ago26
92c52d27Patrick Hallisey2 years ago27<!-- Embed source files that are not tracked by the source control manager in the PDB -->
28<EmbedUntrackedSources>true</EmbedUntrackedSources>
29
45fc4d72Stephen Toub2 years ago30<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
3f2b8fc6Patrick Hallisey2 years ago31
32<!-- Disable missing XML documentation warnings -->
33<NoWarn>$(NoWarn),1570,1573,1574,1591</NoWarn>
d5b5c604Liudmila Molkova2 years ago34
45fc4d72Stephen Toub2 years ago35<!-- Disable obsolete warnings -->
36<NoWarn>$(NoWarn),0618</NoWarn>
37
38<!-- Disable unused fields warnings -->
39<NoWarn>$(NoWarn),0169</NoWarn>
0c0bc808Jose Arriaga Maldonado2 years ago40
79014abcShivangiReja1 years ago41<!-- Disable warnings for experimental APIs -->
ff75da41Travis Wilson1 years ago42<NoWarn>$(NoWarn),OPENAI001;OPENAI002</NoWarn>
79014abcShivangiReja1 years ago43
0c0bc808Jose Arriaga Maldonado2 years ago44<Configurations>Debug;Release;Unsigned</Configurations>
0e0c460cJose Arriaga Maldonado1 years ago45
46<IsTrimmable Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net6.0'))">true</IsTrimmable>
47<IsAotCompatible Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net7.0'))">true</IsAotCompatible>
0c0bc808Jose Arriaga Maldonado2 years ago48</PropertyGroup>
49
50<PropertyGroup Condition="'$(Configuration)' != 'Unsigned'">
51<!-- Sign the assembly with the specified key file. -->
52<SignAssembly>true</SignAssembly>
53<AssemblyOriginatorKeyFile>OpenAI.snk</AssemblyOriginatorKeyFile>
45fc4d72Stephen Toub2 years ago54</PropertyGroup>
55
0c0bc808Jose Arriaga Maldonado2 years ago56<ItemGroup>
57<InternalsVisibleTo Include="Azure.AI.OpenAI" Condition="'$(Configuration)' != 'Unsigned'">
58<PublicKey>0024000004800000940000000602000000240000525341310004000001000100097ad52abbeaa2e1a1982747cc0106534f65cfea6707eaed696a3a63daea80de2512746801a7e47f88e7781e71af960d89ba2e25561f70b0e2dbc93319e0af1961a719ccf5a4d28709b2b57a5d29b7c09dc8d269a490ebe2651c4b6e6738c27c5fb2c02469fe9757f0a3479ac310d6588a50a28d7dd431b907fd325e18b9e8ed</PublicKey>
59</InternalsVisibleTo>
60<InternalsVisibleTo Include="Azure.AI.OpenAI" Condition="'$(Configuration)' == 'Unsigned'" />
61</ItemGroup>
62
674e0f77Stephen Toub2 years ago63<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
64<!-- Allow use of unsafe code, for System.Net.ServerSentEvents polyfill on netstandard2.0
65TODO https://github.com/openai/openai-dotnet/issues/41: Remove once polyfill for
66System.Net.ServerSentEvents is removed in favor of referencing the package -->
67<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
68</PropertyGroup>
69
45fc4d72Stephen Toub2 years ago70<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
71<!-- Normalize stored file paths in symbols when in a CI build. -->
72<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
9f9f2936Jose Arriaga Maldonado2 years ago73</PropertyGroup>
cafb255fWes Haggard2 years ago74<ItemGroup>
75<None Include="OpenAI.png" Pack="true" PackagePath="\" />
d77539caTravis Wilson2 years ago76<None Include="..\CHANGELOG.md" Pack="true" PackagePath="\" />
cafb255fWes Haggard2 years ago77<None Include="..\README.md" Pack="true" PackagePath="\" />
78</ItemGroup>
92c52d27Patrick Hallisey2 years ago79
9f9f2936Jose Arriaga Maldonado2 years ago80<ItemGroup>
92c52d27Patrick Hallisey2 years ago81<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
b0f9e5c3Jose Arriaga Maldonado1 years ago82<PackageReference Include="System.ClientModel" Version="1.2.1" />
3ce26bd7Ralph1 years ago83<PackageReference Include="System.Diagnostics.DiagnosticSource" Version="6.0.1" />
9f9f2936Jose Arriaga Maldonado2 years ago84</ItemGroup>
92c52d27Patrick Hallisey2 years ago85</Project>