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

OpenAI/src/Custom/Chat/ChatCompletionDeletionResult.cs

16lines · modecode

1using Microsoft.TypeSpec.Generator.Customizations;
2
3namespace OpenAI.Chat;
4
5// CUSTOM: Added Experimental attribute.
6[CodeGenType("ChatCompletionDeleted")]
7public partial class ChatCompletionDeletionResult
8{
9 // CUSTOM: Made internal.
10 [CodeGenMember("Object")]
11 internal string Object { get; } = "chat.completion.deleted";
12
13 // CUSTOM: Renamed.
14 [CodeGenMember("Id")]
15 public string ChatCompletionId { get; }
16}
17