SpaceEmbedder
Rust struct goodmem::models::SpaceEmbedder: declaration, fields or variants, and implementations.
Struct SpaceEmbedder
goodmem::models::SpaceEmbedder
Associates an embedder with a space, including retrieval configuration.
pub struct SpaceEmbedder {
pub space_id: String,
pub embedder_id: String,
pub default_retrieval_weight: f64,
pub created_at: i64,
pub updated_at: i64,
pub created_by_id: String,
pub updated_by_id: String,
}Fields
space_id
pub space_id: String
The UUID for the space.
Wire name: spaceId.
embedder_id
pub embedder_id: String
The UUID for the embedder.
Wire name: embedderId.
default_retrieval_weight
pub default_retrieval_weight: f64
The default weight for this embedder during retrieval operations.
Wire name: defaultRetrievalWeight.
created_at
pub created_at: i64
Timestamp when this association was created (milliseconds since epoch).
Wire name: createdAt.
updated_at
pub updated_at: i64
Timestamp when this association was last updated (milliseconds since epoch).
Wire name: updatedAt.
created_by_id
pub created_by_id: String
The ID of the user who created this association.
Wire name: createdById.
updated_by_id
pub updated_by_id: String
The ID of the user who last updated this association.
Wire name: updatedById.
Implementations
validate
pub fn validate(&self) -> crate::Result<()>
Validate the request before sending, without making an HTTP call.
Trait implementations
Clone(derived)Default(derived)PartialEq(derived)Serialize(derived)impl<'de> Deserialize<'de> for SpaceEmbedderimpl std::fmt::Debug for SpaceEmbedder