MCPcopy Create free account
hub / github.com/hashintel/hash / Embedding

Class Embedding

libs/@local/graph/types/src/embedding.rs:14–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12#[cfg_attr(feature = "utoipa", derive(utoipa::ToSchema))]
13#[serde(transparent)]
14pub struct Embedding<'v>(Cow<'v, [f32]>);
15
16impl Embedding<'_> {
17 pub const DIM: usize = 3072;

Callers 4

accessMethod · 0.85
new_inMethod · 0.85
into_ownedMethod · 0.85
to_ownedMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected