reqs_batch_embed
Store precomputed embedding vectors for multiple requirements in one call, keeping requirement text private and data local. Ensures consistent vector dimensions across all stored embeddings.
Instructions
Store embeddings for multiple requirements at once.
Same preconditions as reqs_embed: you compute the vectors yourself and pass finished numbers, the requirement text never reaches this tool, and codebugs stores them locally and sends them nowhere.
Every vector in one call must have the same number of components as every other vector in the call AND as the vectors already stored in this tracker; empty vectors, non-numbers, NaN and infinity are refused. The self-consistency rule is a separate one: in an empty tracker there is nothing to compare against, so without it a single call could create the mixed state the rules exist to prevent.
Args:
embeddings: Dict mapping requirement ID to float vector
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| embeddings | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||