detectar_gap
Detects semantic gap between two texts using real embeddings.
Returns gap score (0 = no gap, 1 = complete disconnection),
severity level, and vocabulary unique to each text.
Requires ANTHROPIC_API_KEY environment variable.
reformular_pregunta
Takes a question and generates alternative framings to surface
the real need behind it. Based on the Question Reframe method.
Uses Claude to generate contextually aware reformulations.
Requires ANTHROPIC_API_KEY environment variable.
analizar_conversacion
Analyzes a sequence of messages to detect accumulating semantic gaps.
Useful for identifying when a conversation is drifting apart.
Pass a list of messages in chronological order.
Requires ANTHROPIC_API_KEY environment variable.