openai/openai-dotnet

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
OpenAI_2.1.0

Branches

Tags

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

Clone

HTTPS

Download ZIP

src/Generated/BatchClient.cs

29lines · modecode

1// <auto-generated/>
2
3#nullable disable
4
5using System;
6using System.ClientModel;
7using System.ClientModel.Primitives;
8using System.Collections.Generic;
9using System.Threading.Tasks;
10
11namespace OpenAI.Batch
12{
13 // Data plane generated sub-client.
14 public partial class BatchClient
15 {
16 private const string AuthorizationHeader = "Authorization";
17 private readonly ApiKeyCredential _keyCredential;
18 private const string AuthorizationApiKeyPrefix = "Bearer";
19 private readonly ClientPipeline _pipeline;
20 private readonly Uri _endpoint;
21
22 protected BatchClient()
23 {
24 }
25
26 private static PipelineMessageClassifier _pipelineMessageClassifier200;
27 private static PipelineMessageClassifier PipelineMessageClassifier200 => _pipelineMessageClassifier200 ??= PipelineMessageClassifier.Create(stackalloc ushort[] { 200 });
28 }
29}
30