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 · modeblame

9f9f2936Jose Arriaga Maldonado2 years ago1// <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.
14public partial class BatchClient
15{
16private const string AuthorizationHeader = "Authorization";
17private readonly ApiKeyCredential _keyCredential;
18private const string AuthorizationApiKeyPrefix = "Bearer";
19private readonly ClientPipeline _pipeline;
20private readonly Uri _endpoint;
21
22protected BatchClient()
23{
24}
25
26private static PipelineMessageClassifier _pipelineMessageClassifier200;
27private static PipelineMessageClassifier PipelineMessageClassifier200 => _pipelineMessageClassifier200 ??= PipelineMessageClassifier.Create(stackalloc ushort[] { 200 });
28}
29}