Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
e2436ca
Change directory structure for AOAI to better match Azure repo
Aug 20, 2024
3760223
Merge changes from Azure repo
Aug 20, 2024
f0c50da
Test code compiles.
Aug 20, 2024
c3e4b8f
Bring over test code
Aug 21, 2024
92d1e93
Move test code into different directory structure
Aug 21, 2024
6915a4e
Recording and playback now works in AOAI tests.
Aug 23, 2024
53804d9
Bring over latest test framework changes
Aug 23, 2024
a7c9bed
Merge from main
Aug 27, 2024
1df38e3
Merge latest changes from the Azure C# repo.
Aug 27, 2024
f3b884d
Fix bug introduced by pagination changes to fine tuning
Aug 27, 2024
e53aa35
Remove duplicate assets.json and move to correct place
Aug 28, 2024
8e5f988
Revert "Remove duplicate assets.json and move to correct place"
Aug 28, 2024
06d33fa
Remove unneeded file
Aug 28, 2024
ec9d9ae
github workflow update
trrwilson Aug 28, 2024
5590745
try again
trrwilson Aug 28, 2024
9a1e3be
Add test step as well
Aug 28, 2024
c088537
Fix typo
Aug 28, 2024
d50443b
Dump additional information
Aug 28, 2024
01145da
Disable .net framework as build target
Aug 28, 2024
9320108
Correct capitalization for Linux
Aug 28, 2024
aae9cf9
Add missing text proxy HTTPs cert file
Aug 28, 2024
965d114
Fix running tests
Aug 28, 2024
f24376d
Attempt multi OS and Net version testing matrix
Aug 28, 2024
51c84af
Second attempt at multi-os and .net version AOAI testing
Aug 28, 2024
b26acfa
Attempt III at multi-os and .net version AOAI testing
Aug 28, 2024
910821d
Attempt IV at multi-os and .net version AOAI testing
Aug 28, 2024
80d91ac
Attempt V at multi-os and .net version AOAI testing
Aug 28, 2024
408380c
Attempt VI at multi-os and .net version AOAI testing
Aug 28, 2024
742bf4e
Attempt VII at multi-os and .net version AOAI testing
Aug 28, 2024
49f16ca
Attempt VIII at multi-os and .net version AOAI testing
Aug 28, 2024
dc2bd12
Attempt IX at multi-os and .net version AOAI testing
Aug 29, 2024
2404f1c
Attempt X at multi-os and .net version AOAI testing
Aug 29, 2024
27c6be7
Attempt XI at multi-os and .net version AOAI testing
Aug 29, 2024
7acfd51
Attempt XII at multi-os and .net version AOAI testing
Aug 29, 2024
0d0ea9f
Attempt XIII at multi-os and .net version AOAI testing
Aug 29, 2024
7046bd0
Attempt XIV at multi-os and .net version AOAI testing
Aug 29, 2024
527f4b7
Remove accidentally added file
Aug 29, 2024
5d57208
Merge branch 'main' into ralphe/tweak_to_simplify_dev_and_merges
trrwilson Aug 30, 2024
3b8f4d2
Merge remote-tracking branch 'origin/main' into ralphe/tweak_to_simpl…
Sep 3, 2024
fa500c0
Address PR feedback
Sep 3, 2024
2877eb7
oai beta.11 compatibility snap and aoai beta.5 prep
trrwilson Sep 4, 2024
9892066
Merge branch 'ralphe/tweak_to_simplify_dev_and_merges' of https://git…
trrwilson Sep 4, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
706 changes: 0 additions & 706 deletions .dotnet.azure/.tests.staging/AoaiTestBase.cs

This file was deleted.

674 changes: 0 additions & 674 deletions .dotnet.azure/.tests.staging/AssistantTests.cs

This file was deleted.

21 changes: 0 additions & 21 deletions .dotnet.azure/.tests.staging/Azure.AI.OpenAI.Tests.csproj

This file was deleted.

30 changes: 30 additions & 0 deletions .dotnet.azure/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
# Release History

## 2.0.0-beta.5 (2024-09-03)

This update increments library compatibility to `OpenAI 2.0.0-beta.11`, including several breaking changes.

### Features Added

- Added the `OpenAIChatModelFactory` in the `OpenAI.Chat` namespace (a static class that can be used to instantiate OpenAI models for mocking in non-live test scenarios). ([79014ab](https://github.com/openai/openai-dotnet/commit/79014abc01a00e13d5a334d3f6529ed590b8ee98))

### Breaking Changes

- Updated fine-tuning pagination methods `GetJobs`, `GetEvents`, and `GetJobCheckpoints` to return `IEnumerable<ClientResult>` instead of `ClientResult`. ([5773292](https://github.com/openai/openai-dotnet/commit/57732927575c6c48f30bded0afb9f5b16d4f30da))
- Updated the batching pagination method `GetBatches` to return `IEnumerable<ClientResult>` instead of `ClientResult`. ([5773292](https://github.com/openai/openai-dotnet/commit/57732927575c6c48f30bded0afb9f5b16d4f30da))
- Changed `GeneratedSpeechVoice` from an enum to an "extensible enum". ([79014ab](https://github.com/openai/openai-dotnet/commit/79014abc01a00e13d5a334d3f6529ed590b8ee98))
- Changed `GeneratedSpeechFormat` from an enum to an "extensible enum". ([cc9169a](https://github.com/openai/openai-dotnet/commit/cc9169ad2ff92bb7312eed3b7e64e45da5da1d18))
- Renamed `SpeechGenerationOptions`'s `Speed` property to `SpeedRatio`. ([cc9169a](https://github.com/openai/openai-dotnet/commit/cc9169ad2ff92bb7312eed3b7e64e45da5da1d18))

### Bugs Fixed

- Corrected an internal deserialization issue that caused recent updates to Assistants `file_search` to fail when streaming a run. Strongly typed support for `ranking_options` is not included but will arrive soon. ([cc9169a](https://github.com/openai/openai-dotnet/commit/cc9169ad2ff92bb7312eed3b7e64e45da5da1d18))
- Mitigated a .NET runtime issue that prevented `ChatResponseFormat` from serializing correct on targets including Unity. ([cc9169a](https://github.com/openai/openai-dotnet/commit/cc9169ad2ff92bb7312eed3b7e64e45da5da1d18))

## 2.0.0-beta.4 (2024-08-30)

This small release increments library compatibility to the latest `OpenAI 2.0.0-beta.10`. Prior to this update, interactions with the two breaking changes described below prevented full interoperability.

### Breaking Changes

- `AudioClient`'s `GenerateSpeechFromText()` method is renamed to `GenerateSpeech()`
- `OpenAIFileInfo`'s `SizeInBytes` is now of type `int?` (previously `long?`)

## 2.0.0-beta.3 (2024-08-23)

This change updates the library for compatibility with the latest `2.0.0-beta.9` of the `OpenAI` package and the `2024-07-01-preview` Azure OpenAI service API version label, as published on 8/5.
Expand Down
43 changes: 43 additions & 0 deletions .dotnet.azure/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<RepoRoot>$(MSBuildThisFileDirectory)</RepoRoot>
<RepoEngPath>$(MSBuildThisFileDirectory)eng</RepoEngPath>
<RepoSrcPath>$(RepoRoot)src</RepoSrcPath>
<RepoSdkPath>$(RepoRoot)src/SDKs</RepoSdkPath>
<IsLegacyMgmtProject Condition="'$(IsLegacyMgmtProject)' == '' and $(MSBuildProjectName.Contains('.Management.'))">true</IsLegacyMgmtProject>
<ProjectStartsWithStandardName Condition="$(MSBuildProjectName.StartsWith('Azure.')) or $(MSBuildProjectName.StartsWith('Microsoft.'))">true</ProjectStartsWithStandardName>
<ImportRepoCommonSettings Condition="'$(ImportRepoCommonSettings)' == '' and '$(ProjectStartsWithStandardName)' == 'true' and '$(IsLegacyMgmtProject)' != 'true'">true</ImportRepoCommonSettings>
</PropertyGroup>

<!-- Setup default project properties -->
<PropertyGroup>
<Configuration Condition="'$(Configuration)' == ''">Debug</Configuration>
<Platform Condition="'$(Platform)' == ''">AnyCPU</Platform>
<PlatformName Condition="'$(PlatformName)' == ''">$(Platform)</PlatformName>
</PropertyGroup>

<!-- Setup common output paths -->
<PropertyGroup>
<ArtifactsDir Condition="'$(ArtifactsDir)' == ''">$(RepoRoot)artifacts\</ArtifactsDir>
<ArtifactsObjDir>$(ArtifactsDir)obj\</ArtifactsObjDir>
<ArtifactsBinDir>$(ArtifactsDir)bin\</ArtifactsBinDir>
<ArtifactsPackagesDir>$(ArtifactsDir)packages\$(Configuration)\</ArtifactsPackagesDir>

<OutDirName Condition="'$(OutDirName)' == ''">$(MSBuildProjectName)</OutDirName>

<BaseOutputPath Condition="'$(BaseOutputPath)' == ''">$([System.IO.Path]::GetFullPath('$(ArtifactsBinDir)$(OutDirName)\'))</BaseOutputPath>
<OutputPath Condition="'$(PlatformName)' == 'AnyCPU'">$(BaseOutputPath)$(Configuration)\</OutputPath>
<OutputPath Condition="'$(PlatformName)' != 'AnyCPU'">$(BaseOutputPath)$(PlatformName)\$(Configuration)\</OutputPath>

<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)' == ''">$([System.IO.Path]::GetFullPath('$(ArtifactsObjDir)$(OutDirName)\'))</BaseIntermediateOutputPath>
<IntermediateOutputPath Condition="'$(PlatformName)' == 'AnyCPU'">$(BaseIntermediateOutputPath)$(Configuration)\</IntermediateOutputPath>
<IntermediateOutputPath Condition="'$(PlatformName)' != 'AnyCPU'">$(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\</IntermediateOutputPath>

<PackageOutputPath>$(ArtifactsPackagesDir)/$(MSBuildProjectName)</PackageOutputPath>

<!-- Used to help catch projects that use this property but don't end up importing our props below -->
<RequiredTargetFrameworks>import-required-properties</RequiredTargetFrameworks>
</PropertyGroup>

<Import Project="$(RepoEngPath)\Directory.Build.Common.props" Condition="'$(ImportRepoCommonSettings)' == 'true'" />
</Project>
10 changes: 10 additions & 0 deletions .dotnet.azure/Directory.Build.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Condition="'$(IsTestProject)' == 'true' or '$(IsPerfProject)' == 'true' or '$(IsStressProject)' == 'true'">
<AssemblyAttribute Include="System.Reflection.AssemblyMetadataAttribute">
<_Parameter1>SourcePath</_Parameter1>
<_Parameter2>$(MSBuildProjectDirectory)</_Parameter2>
</AssemblyAttribute>
</ItemGroup>

<Import Project="$(RepoEngPath)\Directory.Build.Common.targets" Condition="'$(ImportRepoCommonSettings)' == 'true'" />
</Project>
6 changes: 0 additions & 6 deletions .dotnet.azure/assets.json

This file was deleted.

Loading