Table of Contents

Class Endpoint

Namespace
OpenAI.Batch
Assembly
OpenAI-DotNet.dll
public sealed class Endpoint
Inheritance
Endpoint
Inherited Members

Constructors

Endpoint(string)

public Endpoint(string endpoint)

Parameters

endpoint string

Fields

ChatCompletions

public const string ChatCompletions = "/v1/chat/completions"

Field Value

string

Completions

public const string Completions = "/v1/completions"

Field Value

string

Embeddings

public const string Embeddings = "/v1/embeddings"

Field Value

string

Properties

Value

public string Value { get; }

Property Value

string

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

Operators

implicit operator string(Endpoint)

public static implicit operator string(Endpoint endpoint)

Parameters

endpoint Endpoint

Returns

string

implicit operator Endpoint(string)

public static implicit operator Endpoint(string endpoint)

Parameters

endpoint string

Returns

Endpoint