Class Endpoint
public sealed class Endpoint
- Inheritance
-
Endpoint
- Inherited Members
Constructors
Endpoint(string)
public Endpoint(string endpoint)
Parameters
endpointstring
Fields
ChatCompletions
public const string ChatCompletions = "/v1/chat/completions"
Field Value
Completions
public const string Completions = "/v1/completions"
Field Value
Embeddings
public const string Embeddings = "/v1/embeddings"
Field Value
Properties
Value
public string Value { get; }
Property Value
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
endpointEndpoint
Returns
implicit operator Endpoint(string)
public static implicit operator Endpoint(string endpoint)
Parameters
endpointstring