.core.schema
//ellmental/com.theagilemonkeys.ellmental.core.schema
Package-level declarations
Types
| Name | Summary |
|---|---|
| Embedding | [jvm] @Serializable @JvmInline value class Embedding(val value: List<Double>) 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. |
| Id | [jvm] @Serializable @JvmInline value class Id(val value: String) An Id is a string that represents an identifier for a given object. |
| SemanticEntry | [jvm] @Serializable data class SemanticEntry(val id: Id = generateId(), val content: String, val embedding: Embedding, val metadata: Map<String, String>? = null, val clusterId: Id? = null) A Semantic Entry is a representation of a semantic concept, useful to perform semantic searches, and interacting with a vector embedding database. |
| SemanticEntryMatch | [jvm] @Serializable data class SemanticEntryMatch(val id: Id, val score: Double, val content: String, val metadata: Map<String, String>? = null, val clusterId: Id? = null) |