Share via


EmbeddingsOptions.Input Property

Definition

Input texts to get embeddings for, encoded as a an array of strings. Each input must not exceed 2048 tokens in length.

Unless you are embedding code, we suggest replacing newlines (\n) in your input with a single space, as we have observed inferior results when newlines are present.

public System.Collections.Generic.IList<string> Input { get; }
member this.Input : System.Collections.Generic.IList<string>
Public ReadOnly Property Input As IList(Of String)

Property Value

Applies to