Embedded - The class of the object that has been embedded. Typically, it is TextSegment.public class EmbeddingMatch<Embedded> extends Object
| Constructor and Description |
|---|
EmbeddingMatch(Double score,
String embeddingId,
Embedding embedding,
Embedded embedded) |
| Modifier and Type | Method and Description |
|---|---|
Embedded |
embedded() |
Embedding |
embedding() |
String |
embeddingId() |
boolean |
equals(Object o) |
int |
hashCode() |
Double |
score()
Returns the relevance score (derivative of cosine distance) of this embedding compared to
a reference embedding during a search.
|
String |
toString() |
public Double score()
public String embeddingId()
public Embedding embedding()
public Embedded embedded()
TextSegment.Copyright © 2023. All rights reserved.