Show / Hide Table of Contents

Class EmbedTextResult

The generated embedded result to return.

Inheritance
object
EmbedTextResult
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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.

Usage

Declaration
[JsonProperty(PropertyName = "usage")]
public Usage Usage { get; set; }
Property Value
Type Description
Usage
In this article
Back to top