By requesting top log probabilities for each generated token through the Vertex AI API, the Treewalker module calculates exact model confidence scores and identifies high-probability branching paths to uncover hidden brand associations in parametric memory.
sequenceDiagram
participant User
participant Treewalker as Treewalker Engine
participant LLM as Vertex AI (Gemini)
User->>Treewalker: Probe entity memory
Treewalker->>LLM: Prompt with logprobs=5
LLM-->>Treewalker: Token stream + log probabilities
Treewalker->>Treewalker: Map token probs & detect branches
Treewalker->>LLM: Complete alternate token paths
LLM-->>Treewalker: Completed branch associations
Treewalker-->>User: Visual tree of parametric recallReferenced by