Class CreateEmbeddingsBatchJobConfig
Config for optional parameters.
public record CreateEmbeddingsBatchJobConfig : IEquatable<CreateEmbeddingsBatchJobConfig>
- Inheritance
-
CreateEmbeddingsBatchJobConfig
- Implements
- Inherited Members
Properties
DisplayName
The user-defined name of this BatchJob.
[JsonPropertyName("displayName")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? DisplayName { get; set; }
Property Value
HttpOptions
Used to override HTTP request options.
[JsonPropertyName("httpOptions")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public HttpOptions? HttpOptions { get; set; }
Property Value
Methods
FromJson(string, JsonSerializerOptions?)
Deserializes a JSON string to a CreateEmbeddingsBatchJobConfig object.
public static CreateEmbeddingsBatchJobConfig? FromJson(string jsonString, JsonSerializerOptions? options = null)
Parameters
jsonStringstringThe JSON string to deserialize.
optionsJsonSerializerOptionsOptional JsonSerializerOptions.
Returns
- CreateEmbeddingsBatchJobConfig
The deserialized CreateEmbeddingsBatchJobConfig object, or null if deserialization fails.