Skip to content

Commit ce7228a

Browse files
authored
Merge branch 'main' into trimming
2 parents b15739b + bd11859 commit ce7228a

File tree

3 files changed

+30
-4
lines changed

3 files changed

+30
-4
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Release History
22

3+
## 2.0.0-beta.3 (2024-06-07)
4+
5+
### Bugs fixed
6+
7+
- Removed a vestigial package reference ([5874f53](https://github.com/openai/openai-dotnet/commit/5874f533722ab46a3e077dacb6c3474e0ecca96e))
8+
39
## 2.0.0-beta.2 (2024-06-06)
410

511
### Bugs fixed

README.md

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,32 @@
11
# OpenAI .NET API library
22

3-
[![NuGet version](https://img.shields.io/nuget/v/openai.svg)](https://www.nuget.org/packages/OpenAI/)
3+
[![NuGet version](https://img.shields.io/nuget/vpre/openai.svg)](https://www.nuget.org/packages/OpenAI/)
44

55
The OpenAI .NET library provides convenient access to the OpenAI REST API from .NET applications.
66

77
It is generated from our [OpenAPI specification](https://github.com/openai/openai-openapi) in collaboration with Microsoft.
88

9+
## Table of Contents
10+
11+
- [Getting started](#getting-started)
12+
- [Prerequisites](#prerequisites)
13+
- [Install the NuGet package](#install-the-nuget-package)
14+
- [Using the client library](#using-the-client-library)
15+
- [Namespace organization](#namespace-organization)
16+
- [Using the async API](#using-the-async-api)
17+
- [Using the `OpenAIClient` class](#using-the-openaiclient-class)
18+
- [How to use chat completions with streaming](#how-to-use-chat-completions-with-streaming)
19+
- [How to use chat completions with tools and function calling](#how-to-use-chat-completions-with-tools-and-function-calling)
20+
- [How to generate text embeddings](#how-to-generate-text-embeddings)
21+
- [How to generate images](#how-to-generate-images)
22+
- [How to transcribe audio](#how-to-transcribe-audio)
23+
- [How to use assistants with retrieval augmented generation (RAG)](#how-to-use-assistants-with-retrieval-augmented-generation-rag)
24+
- [How to use streaming and GPT-4o vision with assistants](#how-to-use-streaming-and-gpt-4o-vision-with-assistants)
25+
- [How to work with Azure OpenAI](#how-to-work-with-azure-openai)
26+
- [Advanced scenarios](#advanced-scenarios)
27+
- [Using protocol methods](#using-protocol-methods)
28+
- [Automatically retrying errors](#automatically-retrying-errors)
29+
930
## Getting started
1031

1132
### Prerequisites
@@ -720,4 +741,4 @@ By default, the client classes will automatically retry the following errors up
720741
- 500 Internal Server Error
721742
- 502 Bad Gateway
722743
- 503 Service Unavailable
723-
- 504 Gateway Timeout
744+
- 504 Gateway Timeout

src/OpenAI.csproj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<PackageTags>OpenAI</PackageTags>
66

77
<VersionPrefix>2.0.0</VersionPrefix>
8-
<VersionSuffix>beta.2</VersionSuffix>
8+
<VersionSuffix>beta.3</VersionSuffix>
99

1010
<TargetFrameworks>netstandard2.0;net6.0;net8.0</TargetFrameworks>
1111
<LangVersion>latest</LangVersion>
@@ -46,7 +46,6 @@
4646
<ItemGroup>
4747
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
4848
<PackageReference Include="System.ClientModel" Version="1.1.0-beta.4" />
49-
<PackageReference Include="System.Text.Json" Version="8.0.2" />
5049
<PackageReference Include="System.Memory.Data" Version="8.0.0" />
5150
</ItemGroup>
5251
</Project>

0 commit comments

Comments
 (0)