Struct EmbeddingApiType
Enum representing the Gemini Enterprise Agent Platform embedding API to use.
[JsonConverter(typeof(EmbeddingApiTypeConverter))]
public readonly record struct EmbeddingApiType : IEquatable<EmbeddingApiType>
- Implements
- Inherited Members
Properties
AllValues
public static IReadOnlyList<EmbeddingApiType> AllValues { get; }
Property Value
EmbedContent
embedContent API Endpoint
public static EmbeddingApiType EmbedContent { get; }
Property Value
Predict
predict API endpoint (default)
public static EmbeddingApiType Predict { get; }
Property Value
Value
public string Value { get; }
Property Value
Methods
Equals(EmbeddingApiType)
public bool Equals(EmbeddingApiType other)
Parameters
otherEmbeddingApiType
Returns
FromString(string)
public static EmbeddingApiType FromString(string value)
Parameters
valuestring
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
implicit operator EmbeddingApiType(string)
public static implicit operator EmbeddingApiType(string value)
Parameters
valuestring