Embedding Generator Pack
★Trusted◇Sandbox optionalv1.0.0MIT✔Verified80by AgentNode · published 6 months ago · toolpack
Generate vector embeddings from text using sentence transformers.
Creates dense vector representations for semantic similarity and retrieval.
Quick Start
agentnode install embedding-generator-packRuns in a subprocess with filtered environment by default. Declared permissions are policy-checked, not sandboxed.
Usage
From packagefrom embedding_generator_pack.tool import run
# Generate embeddings for a set of documents
result = run(
action="generate_embedding",
texts=[
"Kubernetes pod scheduling and resource allocation",
"Docker container orchestration with Swarm",
"How to make sourdough bread at home",
"Helm chart templating best practices"
],
model="all-MiniLM-L6-v2"
)
embeddings = result["embeddings"]
print(f"Generated {len(embeddings)} embeddings")
print(f"Dimensions: {result['dimensions']}")
print(f"Model: {result['model']}")
# Compare similarity between first and other documents
for i, score in enumerate(result["similarity_matrix"][0]):
print(f" Doc 0 vs Doc {i}: {score:.4f}")Runs locally on your machine. No execution data is sent to AgentNode. Permissions are checked before execution. Learn how this works
Verification
Package installs and imports correctly. runtime checks passed.
This package was executed and validated by AgentNode before listing. Install, import, and runtime checks passed.
Verified in real_auto mode
Last verified 18d ago· Runner v2.0.0
Use this when you need to...
- ›Generate embeddings for semantic search over a knowledge base
- ›Compute similarity scores between job descriptions and resumes
- ›Cluster customer feedback into topic groups by vector proximity
- ›Build a recommendation engine using text embedding cosine similarity
- ›Create vector indexes for retrieval-augmented generation pipelines
README
Version History
Capabilities
Permissions
Declared by the publisher. Checked before execution by the policy gate.
Permissions are policy-checked before execution. For trusted and curated packages that run on the host, network and filesystem access are policy-checked but not OS-sandboxed. When runtime isolation is required for untrusted/community code, AgentNode uses sandbox-or-fail-closed if the required container runtime and pinned image are available. Learn more
Privacy
All tool execution happens locally on your machine. AgentNode never receives:
- • Tool inputs or outputs
- • Execution logs
- • Data your agent processes
Only install events and search queries are sent to the registry.
agentnode install embedding-generator-packFiles (3)
License
MITStats
Compatibility
Frameworks
Runtime
pythonPython Version
>=3.10Trust & Security
Publisher
AgentNode
@agentnode