Skip to content

Commit adca23f

Browse files
committed
Typos and readme updates
1 parent 7b89ec6 commit adca23f

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

OpenAI_API/Completions/CompletionRequest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
namespace OpenAI_API.Completions
66
{
77
/// <summary>
8-
/// Represents a request to the Completions API. Mostly matches the parameters in <see href="https://beta.openai.com/api-ref#create-completion-post">the OpenAI docs</see>, although some have been renames or expanded into single/multiple properties for ease of use.
8+
/// Represents a request to the Completions API. Mostly matches the parameters in <see href="https://beta.openai.com/api-ref#create-completion-post">the OpenAI docs</see>, although some have been renamed or expanded into single/multiple properties for ease of use.
99
/// </summary>
1010
public class CompletionRequest
1111
{

OpenAI_API/Images/ImageGenerationRequest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
namespace OpenAI_API.Images
99
{
1010
/// <summary>
11-
/// Represents a request to the Images API. Mostly matches the parameters in <see href="https://platform.openai.com/docs/api-reference/images/create">the OpenAI docs</see>, although some have been renames or expanded into single/multiple properties for ease of use.
11+
/// Represents a request to the Images API. Mostly matches the parameters in <see href="https://platform.openai.com/docs/api-reference/images/create">the OpenAI docs</see>, although some have been renamed or expanded into single/multiple properties for ease of use.
1212
/// </summary>
1313
public class ImageGenerationRequest
1414
{

OpenAI_API/OpenAIAPI.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public class OpenAIAPI
1717
/// <summary>
1818
/// Base url for OpenAI
1919
/// for OpenAI, should be "https://api.openai.com/{0}/{1}"
20-
/// for Azure, should be "https://(your-resource-name).openai.azure.com/openai/deployments/(deployment-id)/{1}?api-version={0}"
20+
/// for Azure, should be "https://(your-resource-name.openai.azure.com/openai/deployments/(deployment-id)/{1}?api-version={0}"
2121
/// </summary>
2222
public string ApiUrlFormat { get; set; } = "https://api.openai.com/{0}/{1}";
2323

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# C#/.NET SDK for accessing the OpenAI GPT-3 API
1+
# C#/.NET SDK for accessing the OpenAI GPT-3 API, ChatGPT, and DALL·E 2
22

33
A simple C# .NET wrapper library to use with OpenAI's GPT-3 API. More context [on my blog](https://rogerpincombe.com/openai-dotnet-api).
44

@@ -29,7 +29,7 @@ Console.WriteLine(result);
2929
* [License](#license)
3030

3131
## Status
32-
Added support for DALL-E 2 image generations and the moderation endpoint.
32+
Added support for ChatGPT, DALL·E 2 image generations and the moderation endpoint.
3333

3434
Now also should work with the Azure OpenAI Service, although this is untested. See the [Azure](#azure) section for further details.
3535

@@ -241,7 +241,7 @@ There are also methods to get file contents, delete a file, etc.
241241
The fine-tuning endpoint itself has not yet been implemented, but will be added soon.
242242

243243
### Images
244-
The Image Generation API is accessed via `OpenAIAPI.ImageGenerations`:
244+
The DALL-E Image Generation API is accessed via `OpenAIAPI.ImageGenerations`:
245245

246246
```csharp
247247
async Task<ImageResult> CreateImageAsync(ImageGenerationRequest request);

0 commit comments

Comments
 (0)