Pooled embedder
Reference for AlgentaPooledEmbedder — a runtime-only embedder that resolves lazily from the closed native runtime and is absent in a runtime-free install.
AlgentaPooledEmbedder is named in telys.embedding.__all__ but is not implemented in the public SDK. The symbol is a lazy proxy: it resolves from the signed native runtime the first time you reference it. Without the runtime installed, that resolution raises ImportError.
For an embedder that works in a plain pip install telys environment, use AlgentaBigramEmbedder or AlgentaMultigramEmbedder (on-device lexical, native kernel), or CallableEmbedder (bring your own dense model).
Availability
Confirm the runtime before you reach for it:
telys runtime status # exit 0 = ready, 1 = not installed
telys runtime verifyImport behavior
The name is exported so from telys.embedding import AlgentaPooledEmbedder matches __all__, but the class body is supplied by the signed runtime at resolution time:
from telys.embedding import AlgentaPooledEmbedder
# Without the native runtime installed:
emb = AlgentaPooledEmbedder()
# Traceback (most recent call last):
# ...
# ImportError: the native runtime is not installedWith the verified runtime present, the symbol resolves to the runtime's implementation and constructs normally.
Interface (when the runtime is present)
Like every Telys embedder, the resolved class implements the EmbeddingProvider protocol:
profile
EmbeddingProfile
The frozen space descriptor for this pooled space.
embed_documents(texts)
ndarray[N, D] float32
Embeds documents for ingestion.
embed_queries(texts)
ndarray[N, D] float32
Embeds queries; defaults to embed_documents.
The concrete model_id, dimension, pooling, and other profile fields are defined by the runtime build, not the SDK. Read them from the constructed instance rather than assuming values:
Portability note
A collection built on the pooled space can only be reopened where the same runtime build is available, since the space identity is defined by the runtime. For a space that works in any environment — including runtime-free SDK installs — prefer a CallableEmbedder, whose profile and function you control end to end.
See also
CallableEmbedder (bring your own) — the portable, SDK-only embedding path.
Choosing an embedder — the decision matrix.
AlgentaMultigramEmbedder — the on-device lexical default.
The signed runtime & trust model — what the native runtime is and how it is verified.
Embedders API — the full embedding surface.
Last updated
Was this helpful?