Class TextEmbedding
Inheritance
object
TextEmbedding
Implements
IEquatable<TextEmbedding>
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: DotnetPrompt.Abstractions.Tools
Assembly: DotnetPrompt.Abstractions.dll
Syntax
public record TextEmbedding : IEquatable<TextEmbedding>
Constructors
| Improve this Doc View SourceTextEmbedding(IReadOnlyList<float>, string)
Declaration
public TextEmbedding(IReadOnlyList<float> Embedding, string Text)
Parameters
Type | Name | Description |
---|---|---|
IReadOnlyList<float> | Embedding | |
string | Text |
Properties
| Improve this Doc View SourceEmbedding
Declaration
public IReadOnlyList<float> Embedding { get; init; }
Property Value
Type | Description |
---|---|
IReadOnlyList<float> |
Text
Declaration
public string Text { get; init; }
Property Value
Type | Description |
---|---|
string |
Implements
System.IEquatable<T>