Embedding
//ellmental/com.theagilemonkeys.ellmental.core.schema/Embedding
Embedding
@Serializable
value class Embedding(val value: List<Double>)
Vector Embeddings
An Embedding is a list of doubles that represents a vector in a multidimensional space. It is useful to represent the semantic meaning of a word or a sentence.
This class is inlined to avoid the overhead of creating a new object for each embedding.
Parameters
jvm
| value | the list of doubles that represents the vector | 
See also
| Word Embedding | 
Constructors
| Embedding | [jvm] constructor(value: List<Double>)  | 
Properties
| Name | Summary | 
|---|---|
| value | [jvm] val value: List<Double>  |