-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
Description
Elastic.Clients.Elasticsearch version: 8.17.1
Elasticsearch version: 8.17.2
.NET runtime version: 9.0
Operating system version: macOS
Description of the problem including expected versus actual behavior:
According to the docs https://www.elastic.co/guide/en/elasticsearch/reference/current/semantic-text.html#semantic-text-params SemanticTextProperty
should have both InferenceId
and SearchInferenceId
properties, but it does not
Lines 30 to 39 in ffe9e46
public sealed partial class SemanticTextProperty : IProperty | |
{ | |
[JsonInclude, JsonPropertyName("inference_id")] | |
public Elastic.Clients.Elasticsearch.Id InferenceId { get; set; } | |
[JsonInclude, JsonPropertyName("meta")] | |
public IDictionary<string, string>? Meta { get; set; } | |
[JsonInclude, JsonPropertyName("type")] | |
public string Type => "semantic_text"; | |
} |
Expected behavior
Add new property
[JsonInclude, JsonPropertyName("search_inference_id")]
public Elastic.Clients.Elasticsearch.Id SearchInferenceId { get; set; }
p.s. @flobernd appreciate if you can do your magic and regenerate the client using the latest spec.