StaticFindFind actions similar to a specific action.
Vector service containing action embeddings
The ID of the action to find similar actions to
Maximum number of results to return (default: 5)
Minimum similarity score 0-1 (default: 0.5)
Array of matching actions (excludes the source action)
StaticFindFind actions similar to a given task description.
Vector service containing action embeddings
The task description to match against action capabilities
Function to generate embeddings (from AIEngine)
Maximum number of results to return (default: 5)
Minimum similarity score 0-1 (default: 0.5)
Array of matching actions sorted by similarity score (highest first)
StaticGenerateGenerate embeddings for actions using provided embedding function. Called by AIEngine during AdditionalLoading.
Array of actions (already loaded by AIEngine)
Function to generate embeddings (from AIEngine)
Vector entries ready for loading into vector service
StaticGetGet the similarity score between two specific actions.
Vector service containing action embeddings
First action ID
Second action ID
Similarity score (0-1)
Utility service for action embedding operations. Uses action data already loaded by AIEngine - no separate initialization needed. All methods are static - no instance state required.
Follows the same pattern as AgentEmbeddingService for consistency.
Example