[
  {
    "fragmentId": "method:1f4bu99:oninitializedasync__fragment",
    "ownerFileId": "file:1kjntt:intelligence-razor",
    "ownerSymbolId": "method:1f4bu99:oninitializedasync",
    "ownerSymbolName": "OnInitializedAsync",
    "entryNodeId": "method:1f4bu99:oninitializedasync__entry",
    "exitNodeIds": [
      "method:1f4bu99:oninitializedasync__implicit_return"
    ],
    "nodes": [
      {
        "id": "method:1f4bu99:oninitializedasync__entry",
        "kind": "entry",
        "label": "OnInitializedAsync entry",
        "line": 388,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.99,
        "detail": "Initializes the component by loading recent books for the scope selector from the API."
      },
      {
        "id": "method:1f4bu99:oninitializedasync__action_390_try_catch_390__linear",
        "kind": "statement",
        "label": "Swallow errors loading books",
        "line": 390,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.7,
        "detail": "catch writes to Console: failed to load books (line 396)"
      },
      {
        "id": "method:1f4bu99:oninitializedasync__action_390_oninitializedasync_try_390_0__try",
        "kind": "try",
        "label": "Begins protected execution",
        "line": 390,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.84,
        "detail": "try"
      },
      {
        "id": "method:1f4bu99:oninitializedasync__action_392_oninitializedasync_await_392_1__await",
        "kind": "await",
        "label": "Waits for async work",
        "line": 392,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.81,
        "detail": "_books = await Http.GetFromJsonAsync<List<LastReadBookDto>>(\"api/library/books\");"
      },
      {
        "id": "method:1f4bu99:oninitializedasync__action_392_external_call_392__linear",
        "kind": "http-call",
        "label": "Load books for scope selector",
        "line": 392,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.7,
        "detail": "await Http.GetFromJsonAsync<List<LastReadBookDto>>(\"api/library/books\") assigns to _books"
      },
      {
        "id": "method:1f4bu99:oninitializedasync__action_394_oninitializedasync_catch_394_2__catch",
        "kind": "catch",
        "label": "catch Exception ex",
        "line": 394,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.86,
        "detail": "catch (Exception ex)"
      },
      {
        "id": "method:1f4bu99:oninitializedasync__implicit_return",
        "kind": "return",
        "label": "return",
        "line": 398,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.72,
        "detail": "Implicit method exit inferred from method boundary."
      }
    ],
    "edges": [
      {
        "id": "method:1f4bu99:oninitializedasync__entry__method:1f4bu99:oninitializedasync__action_390_try_catch_390__linear",
        "from": "method:1f4bu99:oninitializedasync__entry",
        "to": "method:1f4bu99:oninitializedasync__action_390_try_catch_390__linear",
        "kind": "next",
        "line": 390,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.7
      },
      {
        "id": "method:1f4bu99:oninitializedasync__action_390_try_catch_390__linear__method:1f4bu99:oninitializedasync__action_390_oninitializedasync_try_390_0__try",
        "from": "method:1f4bu99:oninitializedasync__action_390_try_catch_390__linear",
        "to": "method:1f4bu99:oninitializedasync__action_390_oninitializedasync_try_390_0__try",
        "kind": "next",
        "line": 390,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.84
      },
      {
        "id": "method:1f4bu99:oninitializedasync__action_390_oninitializedasync_try_390_0__try__method:1f4bu99:oninitializedasync__action_392_oninitializedasync_await_392_1__await",
        "from": "method:1f4bu99:oninitializedasync__action_390_oninitializedasync_try_390_0__try",
        "to": "method:1f4bu99:oninitializedasync__action_392_oninitializedasync_await_392_1__await",
        "kind": "next",
        "line": 392,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.81
      },
      {
        "id": "method:1f4bu99:oninitializedasync__action_392_oninitializedasync_await_392_1__await__method:1f4bu99:oninitializedasync__action_392_external_call_392__linear",
        "from": "method:1f4bu99:oninitializedasync__action_392_oninitializedasync_await_392_1__await",
        "to": "method:1f4bu99:oninitializedasync__action_392_external_call_392__linear",
        "kind": "next",
        "line": 392,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.7
      },
      {
        "id": "method:1f4bu99:oninitializedasync__action_392_external_call_392__linear__method:1f4bu99:oninitializedasync__action_394_oninitializedasync_catch_394_2__catch",
        "from": "method:1f4bu99:oninitializedasync__action_392_external_call_392__linear",
        "to": "method:1f4bu99:oninitializedasync__action_394_oninitializedasync_catch_394_2__catch",
        "kind": "exception",
        "line": 394,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.86
      },
      {
        "id": "method:1f4bu99:oninitializedasync__action_394_oninitializedasync_catch_394_2__catch__implicit_return",
        "from": "method:1f4bu99:oninitializedasync__action_394_oninitializedasync_catch_394_2__catch",
        "to": "method:1f4bu99:oninitializedasync__implicit_return",
        "kind": "return",
        "line": 398,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.72
      }
    ],
    "jumpTargets": [],
    "exceptionTargets": [],
    "loopBackEdges": [],
    "mergeNodeIds": [],
    "language": "unknown",
    "confidence": 0.8799999999999999,
    "lineSpan": {
      "start": 388,
      "end": 398
    },
    "unsupportedConstructs": [],
    "evidence": [
      {
        "path": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "line": 388,
        "summary": "Control-flow fragment extracted for method OnInitializedAsync.",
        "kind": "file-summary"
      }
    ]
  },
  {
    "fragmentId": "method:91tjy5:handlekeyup__fragment",
    "ownerFileId": "file:1kjntt:intelligence-razor",
    "ownerSymbolId": "method:91tjy5:handlekeyup",
    "ownerSymbolName": "HandleKeyUp",
    "entryNodeId": "method:91tjy5:handlekeyup__entry",
    "exitNodeIds": [
      "method:91tjy5:handlekeyup__implicit_return"
    ],
    "nodes": [
      {
        "id": "method:91tjy5:handlekeyup__entry",
        "kind": "entry",
        "label": "HandleKeyUp entry",
        "line": 400,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.99,
        "detail": "Handles key up events on the input; triggers AskQuestionAsync when Enter is pressed and input is non-empty and not loading."
      },
      {
        "id": "method:91tjy5:handlekeyup__action_402_guard_clause_402__condition",
        "kind": "condition",
        "label": "e.Key == \"Enter\" && !string.IsNullOrWhiteSpace(_question) && !_isLoading",
        "line": 402,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.7,
        "detail": "Calls AskQuestionAsync when condition true"
      },
      {
        "id": "method:91tjy5:handlekeyup__action_402_guard_clause_402__true",
        "kind": "branch-true",
        "label": "call-AskQuestionAsync",
        "line": 402,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.7
      },
      {
        "id": "method:91tjy5:handlekeyup__action_402_guard_clause_402__false",
        "kind": "branch-false",
        "label": "no-op",
        "line": 402,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.7
      },
      {
        "id": "method:91tjy5:handlekeyup__action_402_guard_clause_402__merge",
        "kind": "statement",
        "label": "merge",
        "line": 402,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.7
      },
      {
        "id": "method:91tjy5:handlekeyup__action_402_handlekeyup_branch_402_0__condition",
        "kind": "condition",
        "label": "e.Key == \"Enter\" && !string.IsNullOrWhiteSpace(_question) && !_isLoading",
        "line": 402,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.78,
        "detail": "if (e.Key == \"Enter\" && !string.IsNullOrWhiteSpace(_question) && !_isLoading)"
      },
      {
        "id": "method:91tjy5:handlekeyup__action_402_handlekeyup_branch_402_0__true",
        "kind": "branch-true",
        "label": "true",
        "line": 402,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.78
      },
      {
        "id": "method:91tjy5:handlekeyup__action_402_handlekeyup_branch_402_0__false",
        "kind": "branch-false",
        "label": "false",
        "line": 402,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.78
      },
      {
        "id": "method:91tjy5:handlekeyup__action_402_handlekeyup_branch_402_0__merge",
        "kind": "statement",
        "label": "merge",
        "line": 402,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.78
      },
      {
        "id": "method:91tjy5:handlekeyup__action_404_handlekeyup_await_404_1__await",
        "kind": "await",
        "label": "Waits for async work",
        "line": 404,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.81,
        "detail": "await AskQuestionAsync();"
      },
      {
        "id": "method:91tjy5:handlekeyup__call_404_AskQuestionAsync",
        "kind": "call",
        "label": "AskQuestionAsync",
        "line": 404,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.88,
        "detail": "none"
      },
      {
        "id": "method:91tjy5:handlekeyup__implicit_return",
        "kind": "return",
        "label": "return",
        "line": 406,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.72,
        "detail": "Implicit method exit inferred from method boundary."
      }
    ],
    "edges": [
      {
        "id": "method:91tjy5:handlekeyup__entry__method:91tjy5:handlekeyup__action_402_guard_clause_402__condition",
        "from": "method:91tjy5:handlekeyup__entry",
        "to": "method:91tjy5:handlekeyup__action_402_guard_clause_402__condition",
        "kind": "next",
        "line": 402,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.7
      },
      {
        "id": "method:91tjy5:handlekeyup__action_402_guard_clause_402__condition__method:91tjy5:handlekeyup__action_402_guard_clause_402__true",
        "from": "method:91tjy5:handlekeyup__action_402_guard_clause_402__condition",
        "to": "method:91tjy5:handlekeyup__action_402_guard_clause_402__true",
        "kind": "condition-true",
        "label": "call-AskQuestionAsync",
        "line": 402,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.7
      },
      {
        "id": "method:91tjy5:handlekeyup__action_402_guard_clause_402__condition__method:91tjy5:handlekeyup__action_402_guard_clause_402__false",
        "from": "method:91tjy5:handlekeyup__action_402_guard_clause_402__condition",
        "to": "method:91tjy5:handlekeyup__action_402_guard_clause_402__false",
        "kind": "condition-false",
        "label": "no-op",
        "line": 402,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.7
      },
      {
        "id": "method:91tjy5:handlekeyup__action_402_guard_clause_402__true__method:91tjy5:handlekeyup__action_402_guard_clause_402__merge",
        "from": "method:91tjy5:handlekeyup__action_402_guard_clause_402__true",
        "to": "method:91tjy5:handlekeyup__action_402_guard_clause_402__merge",
        "kind": "next",
        "line": 402,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.7
      },
      {
        "id": "method:91tjy5:handlekeyup__action_402_guard_clause_402__false__method:91tjy5:handlekeyup__action_402_guard_clause_402__merge",
        "from": "method:91tjy5:handlekeyup__action_402_guard_clause_402__false",
        "to": "method:91tjy5:handlekeyup__action_402_guard_clause_402__merge",
        "kind": "next",
        "line": 402,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.7
      },
      {
        "id": "method:91tjy5:handlekeyup__action_402_guard_clause_402__merge__method:91tjy5:handlekeyup__action_402_handlekeyup_branch_402_0__condition",
        "from": "method:91tjy5:handlekeyup__action_402_guard_clause_402__merge",
        "to": "method:91tjy5:handlekeyup__action_402_handlekeyup_branch_402_0__condition",
        "kind": "next",
        "line": 402,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.78
      },
      {
        "id": "method:91tjy5:handlekeyup__action_402_handlekeyup_branch_402_0__condition__method:91tjy5:handlekeyup__action_402_handlekeyup_branch_402_0__true",
        "from": "method:91tjy5:handlekeyup__action_402_handlekeyup_branch_402_0__condition",
        "to": "method:91tjy5:handlekeyup__action_402_handlekeyup_branch_402_0__true",
        "kind": "condition-true",
        "label": "true",
        "line": 402,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.78
      },
      {
        "id": "method:91tjy5:handlekeyup__action_402_handlekeyup_branch_402_0__condition__method:91tjy5:handlekeyup__action_402_handlekeyup_branch_402_0__false",
        "from": "method:91tjy5:handlekeyup__action_402_handlekeyup_branch_402_0__condition",
        "to": "method:91tjy5:handlekeyup__action_402_handlekeyup_branch_402_0__false",
        "kind": "condition-false",
        "label": "false",
        "line": 402,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.78
      },
      {
        "id": "method:91tjy5:handlekeyup__action_402_handlekeyup_branch_402_0__true__method:91tjy5:handlekeyup__action_402_handlekeyup_branch_402_0__merge",
        "from": "method:91tjy5:handlekeyup__action_402_handlekeyup_branch_402_0__true",
        "to": "method:91tjy5:handlekeyup__action_402_handlekeyup_branch_402_0__merge",
        "kind": "next",
        "line": 402,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.78
      },
      {
        "id": "method:91tjy5:handlekeyup__action_402_handlekeyup_branch_402_0__false__method:91tjy5:handlekeyup__action_402_handlekeyup_branch_402_0__merge",
        "from": "method:91tjy5:handlekeyup__action_402_handlekeyup_branch_402_0__false",
        "to": "method:91tjy5:handlekeyup__action_402_handlekeyup_branch_402_0__merge",
        "kind": "next",
        "line": 402,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.78
      },
      {
        "id": "method:91tjy5:handlekeyup__action_402_handlekeyup_branch_402_0__merge__method:91tjy5:handlekeyup__action_404_handlekeyup_await_404_1__await",
        "from": "method:91tjy5:handlekeyup__action_402_handlekeyup_branch_402_0__merge",
        "to": "method:91tjy5:handlekeyup__action_404_handlekeyup_await_404_1__await",
        "kind": "next",
        "line": 404,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.81
      },
      {
        "id": "method:91tjy5:handlekeyup__action_404_handlekeyup_await_404_1__await__call_method:91tjy5:handlekeyup__call_404_AskQuestionAsync",
        "from": "method:91tjy5:handlekeyup__action_404_handlekeyup_await_404_1__await",
        "to": "method:91tjy5:handlekeyup__call_404_AskQuestionAsync",
        "kind": "call",
        "label": "none",
        "line": 404,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.88
      },
      {
        "id": "method:91tjy5:handlekeyup__call_404_AskQuestionAsync__implicit_return",
        "from": "method:91tjy5:handlekeyup__call_404_AskQuestionAsync",
        "to": "method:91tjy5:handlekeyup__implicit_return",
        "kind": "return",
        "line": 406,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.72
      }
    ],
    "jumpTargets": [
      {
        "id": "method:91tjy5:handlekeyup__call_404_AskQuestionAsync__jump_NexusReader_UI_Shared_Pages_Intelligence_razor_AskQuestionAsync",
        "fromNodeId": "method:91tjy5:handlekeyup__call_404_AskQuestionAsync",
        "kind": "call-target",
        "targetNodeId": "method:c84ulg:askquestionasync",
        "targetPath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "targetHint": "AskQuestionAsync",
        "line": 404,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "reason": "Call target AskQuestionAsync resolved to NexusReader.UI.Shared/Pages/Intelligence.razor.",
        "status": "resolved"
      }
    ],
    "exceptionTargets": [],
    "loopBackEdges": [],
    "mergeNodeIds": [
      "method:91tjy5:handlekeyup__action_402_guard_clause_402__merge",
      "method:91tjy5:handlekeyup__action_402_handlekeyup_branch_402_0__merge"
    ],
    "language": "unknown",
    "confidence": 0.98,
    "lineSpan": {
      "start": 400,
      "end": 406
    },
    "unsupportedConstructs": [],
    "evidence": [
      {
        "path": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "line": 400,
        "summary": "Control-flow fragment extracted for method HandleKeyUp.",
        "kind": "file-summary"
      }
    ]
  },
  {
    "fragmentId": "method:c84ulg:askquestionasync__fragment",
    "ownerFileId": "file:1kjntt:intelligence-razor",
    "ownerSymbolId": "method:c84ulg:askquestionasync",
    "ownerSymbolName": "AskQuestionAsync",
    "entryNodeId": "method:c84ulg:askquestionasync__entry",
    "exitNodeIds": [
      "method:c84ulg:askquestionasync__implicit_return"
    ],
    "nodes": [
      {
        "id": "method:c84ulg:askquestionasync__entry",
        "kind": "entry",
        "label": "AskQuestionAsync entry",
        "line": 408,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.99,
        "detail": "Orchestrates asking the knowledge service a question: validates input, sets loading state, optionally scopes by book, calls IKnowledgeService, handles success/error responses and exceptions, and clears loading state."
      },
      {
        "id": "method:c84ulg:askquestionasync__action_410_guard_clause_410__condition",
        "kind": "condition",
        "label": "string.IsNullOrWhiteSpace(_question) || _isLoading",
        "line": 410,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.7,
        "detail": "Early return if no question or already loading"
      },
      {
        "id": "method:c84ulg:askquestionasync__action_410_guard_clause_410__true",
        "kind": "branch-true",
        "label": "return",
        "line": 410,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.7
      },
      {
        "id": "method:c84ulg:askquestionasync__action_410_guard_clause_410__false",
        "kind": "branch-false",
        "label": "continue",
        "line": 410,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.7
      },
      {
        "id": "method:c84ulg:askquestionasync__action_410_guard_clause_410__merge",
        "kind": "statement",
        "label": "merge",
        "line": 410,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.7
      },
      {
        "id": "method:c84ulg:askquestionasync__action_410_askquestionasync_guard_clause_410_0__condition",
        "kind": "condition",
        "label": "string.IsNullOrWhiteSpace(_question) || _isLoading",
        "line": 410,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.9,
        "detail": "if (string.IsNullOrWhiteSpace(_question) || _isLoading) return;"
      },
      {
        "id": "method:c84ulg:askquestionasync__action_410_askquestionasync_guard_clause_410_0__true",
        "kind": "branch-true",
        "label": "exit",
        "line": 410,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.9
      },
      {
        "id": "method:c84ulg:askquestionasync__action_410_askquestionasync_guard_clause_410_0__false",
        "kind": "branch-false",
        "label": "continue",
        "line": 410,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.9
      },
      {
        "id": "method:c84ulg:askquestionasync__action_410_askquestionasync_guard_clause_410_0__merge",
        "kind": "statement",
        "label": "merge",
        "line": 410,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.9
      },
      {
        "id": "method:c84ulg:askquestionasync__action_412_state_change_412__linear",
        "kind": "statement",
        "label": "Enter search state",
        "line": 412,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.7,
        "detail": "_isLoading = true; _hasSearched = true; _response = null; StateHasChanged()"
      },
      {
        "id": "method:c84ulg:askquestionasync__action_417_try_catch_417__linear",
        "kind": "statement",
        "label": "Catch network/API exceptions",
        "line": 417,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.7,
        "detail": "Sets _response.Answer to 'Network/API Error: {ex.Message}' and empty citations (lines 439-445)"
      },
      {
        "id": "method:c84ulg:askquestionasync__action_417_askquestionasync_try_417_1__try",
        "kind": "try",
        "label": "Begins protected execution",
        "line": 417,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.84,
        "detail": "try"
      },
      {
        "id": "method:c84ulg:askquestionasync__action_419_branch_419__condition",
        "kind": "condition",
        "label": "!string.IsNullOrEmpty(_selectedBookId) && Guid.TryParse(_selectedBookId, out parsedId)",
        "line": 419,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.7,
        "detail": "Sets ebookId when parsing succeeds (lines 419-423)"
      },
      {
        "id": "method:c84ulg:askquestionasync__action_419_branch_419__true",
        "kind": "branch-true",
        "label": "ebookId set",
        "line": 419,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.7
      },
      {
        "id": "method:c84ulg:askquestionasync__action_419_branch_419__false",
        "kind": "branch-false",
        "label": "ebookId null",
        "line": 419,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.7
      },
      {
        "id": "method:c84ulg:askquestionasync__action_419_branch_419__merge",
        "kind": "statement",
        "label": "merge",
        "line": 419,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.7
      },
      {
        "id": "method:c84ulg:askquestionasync__action_420_askquestionasync_branch_420_2__condition",
        "kind": "condition",
        "label": "!string.IsNullOrEmpty(_selectedBookId) && Guid.TryParse(_selectedBookId, out var parsedId)",
        "line": 420,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.78,
        "detail": "if (!string.IsNullOrEmpty(_selectedBookId) && Guid.TryParse(_selectedBookId, out var parsedId))"
      },
      {
        "id": "method:c84ulg:askquestionasync__action_420_askquestionasync_branch_420_2__true",
        "kind": "branch-true",
        "label": "true",
        "line": 420,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.78
      },
      {
        "id": "method:c84ulg:askquestionasync__action_420_askquestionasync_branch_420_2__false",
        "kind": "branch-false",
        "label": "false",
        "line": 420,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.78
      },
      {
        "id": "method:c84ulg:askquestionasync__action_420_askquestionasync_branch_420_2__merge",
        "kind": "statement",
        "label": "merge",
        "line": 420,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.78
      },
      {
        "id": "method:c84ulg:askquestionasync__action_425_askquestionasync_await_425_3__await",
        "kind": "await",
        "label": "Waits for async work",
        "line": 425,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.81,
        "detail": "var result = await KnowledgeService.AskQuestionAsync(_question, \"tenantId\", ebookId);"
      },
      {
        "id": "method:c84ulg:askquestionasync__action_425_external_call_425__linear",
        "kind": "http-call",
        "label": "Ask knowledge service",
        "line": 425,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.7,
        "detail": "await KnowledgeService.AskQuestionAsync(_question, \"tenantId\", ebookId)"
      },
      {
        "id": "method:c84ulg:askquestionasync__call_425_AskQuestionAsync",
        "kind": "call",
        "label": "AskQuestionAsync",
        "line": 425,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.88,
        "detail": "_question, \"tenantId\", ebookId (nullable Guid)"
      },
      {
        "id": "method:c84ulg:askquestionasync__action_426_branch_426__condition",
        "kind": "condition",
        "label": "result.IsSuccess",
        "line": 426,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.7,
        "detail": "On success assigns _response; on failure builds an error GroundedResponseDto (lines 426-436)"
      },
      {
        "id": "method:c84ulg:askquestionasync__action_426_branch_426__true",
        "kind": "branch-true",
        "label": "assign response from result.Value",
        "line": 426,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.7
      },
      {
        "id": "method:c84ulg:askquestionasync__action_426_branch_426__false",
        "kind": "branch-false",
        "label": "construct error GroundedResponseDto with first error message",
        "line": 426,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.7
      },
      {
        "id": "method:c84ulg:askquestionasync__action_426_branch_426__merge",
        "kind": "statement",
        "label": "merge",
        "line": 426,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.7
      },
      {
        "id": "method:c84ulg:askquestionasync__action_426_askquestionasync_branch_426_4__condition",
        "kind": "condition",
        "label": "result.IsSuccess",
        "line": 426,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.78,
        "detail": "if (result.IsSuccess)"
      },
      {
        "id": "method:c84ulg:askquestionasync__action_426_askquestionasync_branch_426_4__true",
        "kind": "branch-true",
        "label": "true",
        "line": 426,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.78
      },
      {
        "id": "method:c84ulg:askquestionasync__action_426_askquestionasync_branch_426_4__false",
        "kind": "branch-false",
        "label": "false",
        "line": 426,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.78
      },
      {
        "id": "method:c84ulg:askquestionasync__action_426_askquestionasync_branch_426_4__merge",
        "kind": "statement",
        "label": "merge",
        "line": 426,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.78
      },
      {
        "id": "method:c84ulg:askquestionasync__action_430_askquestionasync_fallback_430_5__condition",
        "kind": "condition",
        "label": "Falls back to alternate path",
        "line": 430,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.84,
        "detail": "else"
      },
      {
        "id": "method:c84ulg:askquestionasync__action_430_askquestionasync_fallback_430_5__true",
        "kind": "branch-true",
        "label": "fallback",
        "line": 430,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.84
      },
      {
        "id": "method:c84ulg:askquestionasync__action_430_askquestionasync_fallback_430_5__false",
        "kind": "branch-false",
        "label": "otherwise",
        "line": 430,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.84
      },
      {
        "id": "method:c84ulg:askquestionasync__action_430_askquestionasync_fallback_430_5__merge",
        "kind": "statement",
        "label": "merge",
        "line": 430,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.84
      },
      {
        "id": "method:c84ulg:askquestionasync__action_434_askquestionasync_repository_read_434_6__linear",
        "kind": "db-read",
        "label": "Reads repository or persistence state",
        "line": 434,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.86,
        "detail": "Answer = $\"Error: {result.Errors.FirstOrDefault()?.Message ?? \"An error occurred.\"}\","
      },
      {
        "id": "method:c84ulg:askquestionasync__action_439_askquestionasync_catch_439_7__catch",
        "kind": "catch",
        "label": "catch Exception ex",
        "line": 439,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.86,
        "detail": "catch (Exception ex)"
      },
      {
        "id": "method:c84ulg:askquestionasync__action_447_askquestionasync_finally_447_8__finally",
        "kind": "finally",
        "label": "Runs cleanup or finalization",
        "line": 447,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.84,
        "detail": "finally"
      },
      {
        "id": "method:c84ulg:askquestionasync__action_447_finally_447__finally",
        "kind": "finally",
        "label": "Exit loading state and refresh UI",
        "line": 447,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.7,
        "detail": "_isLoading = false; StateHasChanged() (lines 449-450)"
      },
      {
        "id": "method:c84ulg:askquestionasync__implicit_return",
        "kind": "return",
        "label": "return",
        "line": 452,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.72,
        "detail": "Implicit method exit inferred from method boundary."
      }
    ],
    "edges": [
      {
        "id": "method:c84ulg:askquestionasync__entry__method:c84ulg:askquestionasync__action_410_guard_clause_410__condition",
        "from": "method:c84ulg:askquestionasync__entry",
        "to": "method:c84ulg:askquestionasync__action_410_guard_clause_410__condition",
        "kind": "next",
        "line": 410,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.7
      },
      {
        "id": "method:c84ulg:askquestionasync__action_410_guard_clause_410__condition__method:c84ulg:askquestionasync__action_410_guard_clause_410__true",
        "from": "method:c84ulg:askquestionasync__action_410_guard_clause_410__condition",
        "to": "method:c84ulg:askquestionasync__action_410_guard_clause_410__true",
        "kind": "condition-true",
        "label": "return",
        "line": 410,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.7
      },
      {
        "id": "method:c84ulg:askquestionasync__action_410_guard_clause_410__condition__method:c84ulg:askquestionasync__action_410_guard_clause_410__false",
        "from": "method:c84ulg:askquestionasync__action_410_guard_clause_410__condition",
        "to": "method:c84ulg:askquestionasync__action_410_guard_clause_410__false",
        "kind": "condition-false",
        "label": "continue",
        "line": 410,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.7
      },
      {
        "id": "method:c84ulg:askquestionasync__action_410_guard_clause_410__true__method:c84ulg:askquestionasync__action_410_guard_clause_410__merge",
        "from": "method:c84ulg:askquestionasync__action_410_guard_clause_410__true",
        "to": "method:c84ulg:askquestionasync__action_410_guard_clause_410__merge",
        "kind": "next",
        "line": 410,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.7
      },
      {
        "id": "method:c84ulg:askquestionasync__action_410_guard_clause_410__false__method:c84ulg:askquestionasync__action_410_guard_clause_410__merge",
        "from": "method:c84ulg:askquestionasync__action_410_guard_clause_410__false",
        "to": "method:c84ulg:askquestionasync__action_410_guard_clause_410__merge",
        "kind": "next",
        "line": 410,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.7
      },
      {
        "id": "method:c84ulg:askquestionasync__action_410_guard_clause_410__merge__method:c84ulg:askquestionasync__action_410_askquestionasync_guard_clause_410_0__condition",
        "from": "method:c84ulg:askquestionasync__action_410_guard_clause_410__merge",
        "to": "method:c84ulg:askquestionasync__action_410_askquestionasync_guard_clause_410_0__condition",
        "kind": "next",
        "line": 410,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.9
      },
      {
        "id": "method:c84ulg:askquestionasync__action_410_askquestionasync_guard_clause_410_0__condition__method:c84ulg:askquestionasync__action_410_askquestionasync_guard_clause_410_0__true",
        "from": "method:c84ulg:askquestionasync__action_410_askquestionasync_guard_clause_410_0__condition",
        "to": "method:c84ulg:askquestionasync__action_410_askquestionasync_guard_clause_410_0__true",
        "kind": "condition-true",
        "label": "exit",
        "line": 410,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.9
      },
      {
        "id": "method:c84ulg:askquestionasync__action_410_askquestionasync_guard_clause_410_0__condition__method:c84ulg:askquestionasync__action_410_askquestionasync_guard_clause_410_0__false",
        "from": "method:c84ulg:askquestionasync__action_410_askquestionasync_guard_clause_410_0__condition",
        "to": "method:c84ulg:askquestionasync__action_410_askquestionasync_guard_clause_410_0__false",
        "kind": "condition-false",
        "label": "continue",
        "line": 410,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.9
      },
      {
        "id": "method:c84ulg:askquestionasync__action_410_askquestionasync_guard_clause_410_0__true__method:c84ulg:askquestionasync__action_410_askquestionasync_guard_clause_410_0__merge",
        "from": "method:c84ulg:askquestionasync__action_410_askquestionasync_guard_clause_410_0__true",
        "to": "method:c84ulg:askquestionasync__action_410_askquestionasync_guard_clause_410_0__merge",
        "kind": "next",
        "line": 410,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.9
      },
      {
        "id": "method:c84ulg:askquestionasync__action_410_askquestionasync_guard_clause_410_0__false__method:c84ulg:askquestionasync__action_410_askquestionasync_guard_clause_410_0__merge",
        "from": "method:c84ulg:askquestionasync__action_410_askquestionasync_guard_clause_410_0__false",
        "to": "method:c84ulg:askquestionasync__action_410_askquestionasync_guard_clause_410_0__merge",
        "kind": "next",
        "line": 410,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.9
      },
      {
        "id": "method:c84ulg:askquestionasync__action_410_askquestionasync_guard_clause_410_0__merge__method:c84ulg:askquestionasync__action_412_state_change_412__linear",
        "from": "method:c84ulg:askquestionasync__action_410_askquestionasync_guard_clause_410_0__merge",
        "to": "method:c84ulg:askquestionasync__action_412_state_change_412__linear",
        "kind": "next",
        "line": 412,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.7
      },
      {
        "id": "method:c84ulg:askquestionasync__action_412_state_change_412__linear__method:c84ulg:askquestionasync__action_417_try_catch_417__linear",
        "from": "method:c84ulg:askquestionasync__action_412_state_change_412__linear",
        "to": "method:c84ulg:askquestionasync__action_417_try_catch_417__linear",
        "kind": "next",
        "line": 417,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.7
      },
      {
        "id": "method:c84ulg:askquestionasync__action_417_try_catch_417__linear__method:c84ulg:askquestionasync__action_417_askquestionasync_try_417_1__try",
        "from": "method:c84ulg:askquestionasync__action_417_try_catch_417__linear",
        "to": "method:c84ulg:askquestionasync__action_417_askquestionasync_try_417_1__try",
        "kind": "next",
        "line": 417,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.84
      },
      {
        "id": "method:c84ulg:askquestionasync__action_417_askquestionasync_try_417_1__try__method:c84ulg:askquestionasync__action_419_branch_419__condition",
        "from": "method:c84ulg:askquestionasync__action_417_askquestionasync_try_417_1__try",
        "to": "method:c84ulg:askquestionasync__action_419_branch_419__condition",
        "kind": "next",
        "line": 419,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.7
      },
      {
        "id": "method:c84ulg:askquestionasync__action_419_branch_419__condition__method:c84ulg:askquestionasync__action_419_branch_419__true",
        "from": "method:c84ulg:askquestionasync__action_419_branch_419__condition",
        "to": "method:c84ulg:askquestionasync__action_419_branch_419__true",
        "kind": "condition-true",
        "label": "ebookId set",
        "line": 419,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.7
      },
      {
        "id": "method:c84ulg:askquestionasync__action_419_branch_419__condition__method:c84ulg:askquestionasync__action_419_branch_419__false",
        "from": "method:c84ulg:askquestionasync__action_419_branch_419__condition",
        "to": "method:c84ulg:askquestionasync__action_419_branch_419__false",
        "kind": "condition-false",
        "label": "ebookId null",
        "line": 419,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.7
      },
      {
        "id": "method:c84ulg:askquestionasync__action_419_branch_419__true__method:c84ulg:askquestionasync__action_419_branch_419__merge",
        "from": "method:c84ulg:askquestionasync__action_419_branch_419__true",
        "to": "method:c84ulg:askquestionasync__action_419_branch_419__merge",
        "kind": "next",
        "line": 419,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.7
      },
      {
        "id": "method:c84ulg:askquestionasync__action_419_branch_419__false__method:c84ulg:askquestionasync__action_419_branch_419__merge",
        "from": "method:c84ulg:askquestionasync__action_419_branch_419__false",
        "to": "method:c84ulg:askquestionasync__action_419_branch_419__merge",
        "kind": "next",
        "line": 419,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.7
      },
      {
        "id": "method:c84ulg:askquestionasync__action_419_branch_419__merge__method:c84ulg:askquestionasync__action_420_askquestionasync_branch_420_2__condition",
        "from": "method:c84ulg:askquestionasync__action_419_branch_419__merge",
        "to": "method:c84ulg:askquestionasync__action_420_askquestionasync_branch_420_2__condition",
        "kind": "next",
        "line": 420,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.78
      },
      {
        "id": "method:c84ulg:askquestionasync__action_420_askquestionasync_branch_420_2__condition__method:c84ulg:askquestionasync__action_420_askquestionasync_branch_420_2__true",
        "from": "method:c84ulg:askquestionasync__action_420_askquestionasync_branch_420_2__condition",
        "to": "method:c84ulg:askquestionasync__action_420_askquestionasync_branch_420_2__true",
        "kind": "condition-true",
        "label": "true",
        "line": 420,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.78
      },
      {
        "id": "method:c84ulg:askquestionasync__action_420_askquestionasync_branch_420_2__condition__method:c84ulg:askquestionasync__action_420_askquestionasync_branch_420_2__false",
        "from": "method:c84ulg:askquestionasync__action_420_askquestionasync_branch_420_2__condition",
        "to": "method:c84ulg:askquestionasync__action_420_askquestionasync_branch_420_2__false",
        "kind": "condition-false",
        "label": "false",
        "line": 420,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.78
      },
      {
        "id": "method:c84ulg:askquestionasync__action_420_askquestionasync_branch_420_2__true__method:c84ulg:askquestionasync__action_420_askquestionasync_branch_420_2__merge",
        "from": "method:c84ulg:askquestionasync__action_420_askquestionasync_branch_420_2__true",
        "to": "method:c84ulg:askquestionasync__action_420_askquestionasync_branch_420_2__merge",
        "kind": "next",
        "line": 420,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.78
      },
      {
        "id": "method:c84ulg:askquestionasync__action_420_askquestionasync_branch_420_2__false__method:c84ulg:askquestionasync__action_420_askquestionasync_branch_420_2__merge",
        "from": "method:c84ulg:askquestionasync__action_420_askquestionasync_branch_420_2__false",
        "to": "method:c84ulg:askquestionasync__action_420_askquestionasync_branch_420_2__merge",
        "kind": "next",
        "line": 420,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.78
      },
      {
        "id": "method:c84ulg:askquestionasync__action_420_askquestionasync_branch_420_2__merge__method:c84ulg:askquestionasync__action_425_askquestionasync_await_425_3__await",
        "from": "method:c84ulg:askquestionasync__action_420_askquestionasync_branch_420_2__merge",
        "to": "method:c84ulg:askquestionasync__action_425_askquestionasync_await_425_3__await",
        "kind": "next",
        "line": 425,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.81
      },
      {
        "id": "method:c84ulg:askquestionasync__action_425_askquestionasync_await_425_3__await__method:c84ulg:askquestionasync__action_425_external_call_425__linear",
        "from": "method:c84ulg:askquestionasync__action_425_askquestionasync_await_425_3__await",
        "to": "method:c84ulg:askquestionasync__action_425_external_call_425__linear",
        "kind": "next",
        "line": 425,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.7
      },
      {
        "id": "method:c84ulg:askquestionasync__action_425_external_call_425__linear__call_method:c84ulg:askquestionasync__call_425_AskQuestionAsync",
        "from": "method:c84ulg:askquestionasync__action_425_external_call_425__linear",
        "to": "method:c84ulg:askquestionasync__call_425_AskQuestionAsync",
        "kind": "call",
        "label": "_question, \"tenantId\", ebookId (nullable Guid)",
        "line": 425,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.88
      },
      {
        "id": "method:c84ulg:askquestionasync__call_425_AskQuestionAsync__method:c84ulg:askquestionasync__action_426_branch_426__condition",
        "from": "method:c84ulg:askquestionasync__call_425_AskQuestionAsync",
        "to": "method:c84ulg:askquestionasync__action_426_branch_426__condition",
        "kind": "next",
        "line": 426,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.7
      },
      {
        "id": "method:c84ulg:askquestionasync__action_426_branch_426__condition__method:c84ulg:askquestionasync__action_426_branch_426__true",
        "from": "method:c84ulg:askquestionasync__action_426_branch_426__condition",
        "to": "method:c84ulg:askquestionasync__action_426_branch_426__true",
        "kind": "condition-true",
        "label": "assign response from result.Value",
        "line": 426,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.7
      },
      {
        "id": "method:c84ulg:askquestionasync__action_426_branch_426__condition__method:c84ulg:askquestionasync__action_426_branch_426__false",
        "from": "method:c84ulg:askquestionasync__action_426_branch_426__condition",
        "to": "method:c84ulg:askquestionasync__action_426_branch_426__false",
        "kind": "condition-false",
        "label": "construct error GroundedResponseDto with first error message",
        "line": 426,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.7
      },
      {
        "id": "method:c84ulg:askquestionasync__action_426_branch_426__true__method:c84ulg:askquestionasync__action_426_branch_426__merge",
        "from": "method:c84ulg:askquestionasync__action_426_branch_426__true",
        "to": "method:c84ulg:askquestionasync__action_426_branch_426__merge",
        "kind": "next",
        "line": 426,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.7
      },
      {
        "id": "method:c84ulg:askquestionasync__action_426_branch_426__false__method:c84ulg:askquestionasync__action_426_branch_426__merge",
        "from": "method:c84ulg:askquestionasync__action_426_branch_426__false",
        "to": "method:c84ulg:askquestionasync__action_426_branch_426__merge",
        "kind": "next",
        "line": 426,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.7
      },
      {
        "id": "method:c84ulg:askquestionasync__action_426_branch_426__merge__method:c84ulg:askquestionasync__action_426_askquestionasync_branch_426_4__condition",
        "from": "method:c84ulg:askquestionasync__action_426_branch_426__merge",
        "to": "method:c84ulg:askquestionasync__action_426_askquestionasync_branch_426_4__condition",
        "kind": "next",
        "line": 426,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.78
      },
      {
        "id": "method:c84ulg:askquestionasync__action_426_askquestionasync_branch_426_4__condition__method:c84ulg:askquestionasync__action_426_askquestionasync_branch_426_4__true",
        "from": "method:c84ulg:askquestionasync__action_426_askquestionasync_branch_426_4__condition",
        "to": "method:c84ulg:askquestionasync__action_426_askquestionasync_branch_426_4__true",
        "kind": "condition-true",
        "label": "true",
        "line": 426,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.78
      },
      {
        "id": "method:c84ulg:askquestionasync__action_426_askquestionasync_branch_426_4__condition__method:c84ulg:askquestionasync__action_426_askquestionasync_branch_426_4__false",
        "from": "method:c84ulg:askquestionasync__action_426_askquestionasync_branch_426_4__condition",
        "to": "method:c84ulg:askquestionasync__action_426_askquestionasync_branch_426_4__false",
        "kind": "condition-false",
        "label": "false",
        "line": 426,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.78
      },
      {
        "id": "method:c84ulg:askquestionasync__action_426_askquestionasync_branch_426_4__true__method:c84ulg:askquestionasync__action_426_askquestionasync_branch_426_4__merge",
        "from": "method:c84ulg:askquestionasync__action_426_askquestionasync_branch_426_4__true",
        "to": "method:c84ulg:askquestionasync__action_426_askquestionasync_branch_426_4__merge",
        "kind": "next",
        "line": 426,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.78
      },
      {
        "id": "method:c84ulg:askquestionasync__action_426_askquestionasync_branch_426_4__false__method:c84ulg:askquestionasync__action_426_askquestionasync_branch_426_4__merge",
        "from": "method:c84ulg:askquestionasync__action_426_askquestionasync_branch_426_4__false",
        "to": "method:c84ulg:askquestionasync__action_426_askquestionasync_branch_426_4__merge",
        "kind": "next",
        "line": 426,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.78
      },
      {
        "id": "method:c84ulg:askquestionasync__action_426_askquestionasync_branch_426_4__merge__method:c84ulg:askquestionasync__action_430_askquestionasync_fallback_430_5__condition",
        "from": "method:c84ulg:askquestionasync__action_426_askquestionasync_branch_426_4__merge",
        "to": "method:c84ulg:askquestionasync__action_430_askquestionasync_fallback_430_5__condition",
        "kind": "fallback",
        "line": 430,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.84
      },
      {
        "id": "method:c84ulg:askquestionasync__action_430_askquestionasync_fallback_430_5__condition__method:c84ulg:askquestionasync__action_430_askquestionasync_fallback_430_5__true",
        "from": "method:c84ulg:askquestionasync__action_430_askquestionasync_fallback_430_5__condition",
        "to": "method:c84ulg:askquestionasync__action_430_askquestionasync_fallback_430_5__true",
        "kind": "condition-true",
        "label": "fallback",
        "line": 430,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.84
      },
      {
        "id": "method:c84ulg:askquestionasync__action_430_askquestionasync_fallback_430_5__condition__method:c84ulg:askquestionasync__action_430_askquestionasync_fallback_430_5__false",
        "from": "method:c84ulg:askquestionasync__action_430_askquestionasync_fallback_430_5__condition",
        "to": "method:c84ulg:askquestionasync__action_430_askquestionasync_fallback_430_5__false",
        "kind": "condition-false",
        "label": "otherwise",
        "line": 430,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.84
      },
      {
        "id": "method:c84ulg:askquestionasync__action_430_askquestionasync_fallback_430_5__true__method:c84ulg:askquestionasync__action_430_askquestionasync_fallback_430_5__merge",
        "from": "method:c84ulg:askquestionasync__action_430_askquestionasync_fallback_430_5__true",
        "to": "method:c84ulg:askquestionasync__action_430_askquestionasync_fallback_430_5__merge",
        "kind": "next",
        "line": 430,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.84
      },
      {
        "id": "method:c84ulg:askquestionasync__action_430_askquestionasync_fallback_430_5__false__method:c84ulg:askquestionasync__action_430_askquestionasync_fallback_430_5__merge",
        "from": "method:c84ulg:askquestionasync__action_430_askquestionasync_fallback_430_5__false",
        "to": "method:c84ulg:askquestionasync__action_430_askquestionasync_fallback_430_5__merge",
        "kind": "next",
        "line": 430,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.84
      },
      {
        "id": "method:c84ulg:askquestionasync__action_430_askquestionasync_fallback_430_5__merge__method:c84ulg:askquestionasync__action_434_askquestionasync_repository_read_434_6__linear",
        "from": "method:c84ulg:askquestionasync__action_430_askquestionasync_fallback_430_5__merge",
        "to": "method:c84ulg:askquestionasync__action_434_askquestionasync_repository_read_434_6__linear",
        "kind": "next",
        "line": 434,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.86
      },
      {
        "id": "method:c84ulg:askquestionasync__action_434_askquestionasync_repository_read_434_6__linear__method:c84ulg:askquestionasync__action_439_askquestionasync_catch_439_7__catch",
        "from": "method:c84ulg:askquestionasync__action_434_askquestionasync_repository_read_434_6__linear",
        "to": "method:c84ulg:askquestionasync__action_439_askquestionasync_catch_439_7__catch",
        "kind": "exception",
        "line": 439,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.86
      },
      {
        "id": "method:c84ulg:askquestionasync__action_439_askquestionasync_catch_439_7__catch__method:c84ulg:askquestionasync__action_447_askquestionasync_finally_447_8__finally",
        "from": "method:c84ulg:askquestionasync__action_439_askquestionasync_catch_439_7__catch",
        "to": "method:c84ulg:askquestionasync__action_447_askquestionasync_finally_447_8__finally",
        "kind": "next",
        "line": 447,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.84
      },
      {
        "id": "method:c84ulg:askquestionasync__action_447_askquestionasync_finally_447_8__finally__method:c84ulg:askquestionasync__action_447_finally_447__finally",
        "from": "method:c84ulg:askquestionasync__action_447_askquestionasync_finally_447_8__finally",
        "to": "method:c84ulg:askquestionasync__action_447_finally_447__finally",
        "kind": "next",
        "line": 447,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.7
      },
      {
        "id": "method:c84ulg:askquestionasync__action_447_finally_447__finally__implicit_return",
        "from": "method:c84ulg:askquestionasync__action_447_finally_447__finally",
        "to": "method:c84ulg:askquestionasync__implicit_return",
        "kind": "return",
        "line": 452,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "confidence": 0.72
      }
    ],
    "jumpTargets": [
      {
        "id": "method:c84ulg:askquestionasync__call_425_AskQuestionAsync__jump_NexusReader_Application_Abstractions_Services_IKnowledgeService_cs_AskQuestionAsync",
        "fromNodeId": "method:c84ulg:askquestionasync__call_425_AskQuestionAsync",
        "kind": "call-target",
        "targetPath": "NexusReader.Application.Abstractions/Services/IKnowledgeService.cs",
        "targetHint": "AskQuestionAsync",
        "line": 425,
        "sourcePath": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "reason": "Call target AskQuestionAsync in NexusReader.Application.Abstractions/Services/IKnowledgeService.cs could not be matched to an extracted method symbol.",
        "status": "unresolved"
      }
    ],
    "exceptionTargets": [],
    "loopBackEdges": [],
    "mergeNodeIds": [
      "method:c84ulg:askquestionasync__action_410_guard_clause_410__merge",
      "method:c84ulg:askquestionasync__action_410_askquestionasync_guard_clause_410_0__merge",
      "method:c84ulg:askquestionasync__action_419_branch_419__merge",
      "method:c84ulg:askquestionasync__action_420_askquestionasync_branch_420_2__merge",
      "method:c84ulg:askquestionasync__action_426_branch_426__merge",
      "method:c84ulg:askquestionasync__action_426_askquestionasync_branch_426_4__merge",
      "method:c84ulg:askquestionasync__action_430_askquestionasync_fallback_430_5__merge"
    ],
    "language": "unknown",
    "confidence": 0.98,
    "lineSpan": {
      "start": 408,
      "end": 452
    },
    "unsupportedConstructs": [],
    "evidence": [
      {
        "path": "NexusReader.UI.Shared/Pages/Intelligence.razor",
        "line": 408,
        "summary": "Control-flow fragment extracted for method AskQuestionAsync.",
        "kind": "file-summary"
      }
    ]
  }
]