Schema
//ellmental/com.theagilemonkeys.ellmental.vectorstore.pinecone/Schema
Schema
class Schema
Internal schema of the Pinecone API. Used to serialize and deserialize requests and responses internally. It is not meant to be used directly.
Constructors
| Schema | [jvm] constructor()  | 
Types
| Name | Summary | 
|---|---|
| Match | [jvm] @Serializable data class Match(val id: String, val score: Double, val values: List<Double>? = null, val sparseValues: Schema.SparseValues? = null, val metadata: Map<String, String>? = null)  | 
| QueryBody | [jvm] @Serializable data class QueryBody(val topK: Int, val namespace: String? = null, val filter: String? = null, val includeValues: Boolean? = null, val includeMetadata: Boolean? = null, val vector: List<Double>? = null, val id: String? = null)  | 
| QueryResponse | [jvm] @Serializable data class QueryResponse(val matches: List<Schema.Match>, val namespace: String? = null, val results: List<String>? = null)  | 
| SparseValues | [jvm] @Serializable data class SparseValues(val indices: List<Int>, val values: List<Double>)  | 
| UpsertBody | [jvm] @Serializable data class UpsertBody(val vectors: Schema.Vectors, val namespace: String? = null)  | 
| Vectors | [jvm] @Serializable data class Vectors(val id: String, val values: List<Double>, val sparseValues: Schema.SparseValues? = null, val metadata: Map<String, String>? = null)  |