Class EmbedTextResult
The generated embedded result to return.
Inherited Members
Namespace: Oci.GenerativeaiinferenceService.Models
Assembly: OCI.DotNetSDK.Generativeaiinference.dll
Syntax
public class EmbedTextResult
Properties
Embeddings
Declaration
[Required(ErrorMessage = "Embeddings is required.")]
[JsonProperty(PropertyName = "embeddings")]
public List<List<float>> Embeddings { get; set; }
Property Value
Type | Description |
---|---|
List<List<float>> | The embeddings corresponding to inputs. |
Remarks
Required
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | A unique identifier for the generated result. |
Remarks
Required
Inputs
Declaration
[JsonProperty(PropertyName = "inputs")]
public List<string> Inputs { get; set; }
Property Value
Type | Description |
---|---|
List<string> | The original inputs. Only present if "isEcho" is set to true. |
ModelId
Declaration
[JsonProperty(PropertyName = "modelId")]
public string ModelId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the model used in this inference request. |
ModelVersion
Declaration
[JsonProperty(PropertyName = "modelVersion")]
public string ModelVersion { get; set; }
Property Value
Type | Description |
---|---|
string | The version of the model. |