MCPcopy Create free account
hub / github.com/cosdata/cosdata / CollectionMetadata

Class CollectionMetadata

src/models/collection.rs:80–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78
79#[derive(Deserialize, Clone, Serialize, Debug)]
80pub struct CollectionMetadata {
81 pub name: String,
82 pub description: Option<String>,
83 #[serde(default)]
84 pub dense_vector: DenseVectorOptions,
85 #[serde(default)]
86 pub sparse_vector: SparseVectorOptions,
87 #[serde(default)]
88 pub tf_idf_options: TFIDFOptions,
89 #[serde(default)]
90 pub key_value_index: KeyValueOptions,
91 #[serde(default)]
92 pub usv_options: USVOptions,
93 pub metadata_schema: Option<MetadataSchema>,
94 pub config: CollectionConfig,
95 pub store_raw_text: bool,
96}
97
98#[derive(Debug, Serialize)]
99pub struct CollectionIndexingStatusSummary {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected