Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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)]
14
pub struct Embedding<
'v>(Cow<'
v, [f32]>);
15
16
impl Embedding<'_> {
17
pub const DIM: usize = 3072;
Callers
4
access
Method · 0.85
new_in
Method · 0.85
into_owned
Method · 0.85
to_owned
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected