Ready-to-run cloud templates for RAG, AI pipelines, and enterprise search with live data. 🐳Docker-friendly.⚡Always in sync with Sharepoint, Google Drive, S3, Kafka, PostgreSQL, real-time data APIs, and more.
This report summarizes scanner evidence for pathwaycom/llm-app, a Jupyter Notebook project with 58,812 GitHub stars. SynthScan examined 6,017 lines of code across 66 source files, recording 79 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 29.8 (Elevated pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 72 finding(s).
Are imports declared and package/API names verified? 2 finding(s).
Are wrappers, guards, and repeated structures necessary? 12 finding(s).
Which changes need focused human review? 79 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 79 distinct pattern matches across 7 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | templates/slides_ai_search/app.yaml | 1 | # This YAML configuration file is used to set up and configure the Slides Search RAG template. | COMMENT |
| MEDIUM | templates/slides_ai_search/app.yaml | 8 | # $sources defines the data sources used to read the data which will be indexed in the RAG. | COMMENT |
| MEDIUM | templates/slides_ai_search/README.md | 219 | #### With the Pathway Live Data Framework RAG Client | COMMENT |
| MEDIUM | templates/document_store_mcp_server/app.yaml | 1 | # This YAML configuration file is used to set up and configure the Document indexing RAG template. | COMMENT |
| MEDIUM | templates/document_store_mcp_server/app.yaml | 7 | # $sources defines the data sources used to read the data which will be indexed in the RAG. | COMMENT |
| MEDIUM | templates/document_store_mcp_server/app.yaml | 65 | # Manages the storage and retrieval of documents for the RAG template. | COMMENT |
| MEDIUM⚡ | templates/video_rag_twelvelabs/app.yaml | 1 | # This YAML configuration file sets up the TwelveLabs video RAG template. | COMMENT |
| MEDIUM⚡ | templates/video_rag_twelvelabs/app.yaml | 3 | # embedding that text with the TwelveLabs Marengo model, and serving a RAG | COMMENT |
| MEDIUM⚡ | templates/video_rag_twelvelabs/app.yaml | 9 | # $sources defines the data sources read and indexed in the RAG. | COMMENT |
| MEDIUM | templates/video_rag_twelvelabs/app.yaml | 79 | # The RAG question-answering component served over HTTP. | COMMENT |
| MEDIUM | templates/video_rag_twelvelabs/README.md | 12 | # Video RAG with Pathway Live Data Framework and TwelveLabs | COMMENT |
| MEDIUM | templates/document_indexing/app.yaml | 1 | # This YAML configuration file is used to set up and configure the Document indexing RAG template. | COMMENT |
| MEDIUM | templates/document_indexing/app.yaml | 7 | # $sources defines the data sources used to read the data which will be indexed in the RAG. | COMMENT |
| MEDIUM | templates/document_indexing/app.yaml | 65 | # Manages the storage and retrieval of documents for the RAG template. | COMMENT |
| MEDIUM | templates/private_rag/app.yaml | 1 | # This YAML configuration file is used to set up and configure the Private RAG template. | COMMENT |
| MEDIUM | templates/private_rag/app.yaml | 8 | # $sources defines the data sources used to read the data which will be indexed in the RAG. | COMMENT |
| MEDIUM | templates/private_rag/app.yaml | 87 | # Manages the storage and retrieval of documents for the RAG template. | COMMENT |
| MEDIUM | templates/private_rag/app.yaml | 94 | # Configures the question-answering component using the RAG approach. | COMMENT |
| MEDIUM | templates/private_rag/README.md | 12 | # Fully private RAG with Pathway Live Data Framework | COMMENT |
| MEDIUM | templates/multimodal_rag/app.yaml | 1 | # This YAML configuration file is used to set up and configure the Multimodal RAG template. | COMMENT |
| MEDIUM | templates/multimodal_rag/app.yaml | 8 | # $sources defines the data sources used to read the data which will be indexed in the RAG. | COMMENT |
| MEDIUM | templates/multimodal_rag/app.yaml | 91 | # Manages the storage and retrieval of documents for the RAG template. | COMMENT |
| MEDIUM | templates/multimodal_rag/app.yaml | 98 | # Configures the question-answering component using the RAG approach. | COMMENT |
| MEDIUM | templates/multimodal_rag/README.md | 12 | # Multimodal RAG with Pathway Live Data Framework: Process your Financial Reports and Tables with GPT-4o | COMMENT |
| MEDIUM | templates/drive_alert/README.md | 1 | # Pathway Live Data Framework + LLM + Slack notification: RAG App with real-time alerting when answers change in documen | COMMENT |
| MEDIUM | templates/adaptive_rag/app.yaml | 1 | # This YAML configuration file is used to set up and configure the Adaptive RAG template. | COMMENT |
| MEDIUM | templates/adaptive_rag/app.yaml | 8 | # $sources defines the data sources used to read the data which will be indexed in the RAG. | COMMENT |
| MEDIUM⚡ | templates/adaptive_rag/app.yaml | 79 | # Manages the storage and retrieval of documents for the RAG template. | COMMENT |
| MEDIUM⚡ | templates/adaptive_rag/app.yaml | 86 | # Configures the question-answering component using the RAG approach. | COMMENT |
| MEDIUM⚡ | templates/adaptive_rag/app.yaml | 87 | # The component builds a RAG over an index. | COMMENT |
| MEDIUM⚡ | templates/adaptive_rag/app.yaml | 88 | # You can interact with obtained RAG using a REST API. | COMMENT |
| MEDIUM | templates/adaptive_rag/README.md | 13 | # End to end Adaptive RAG with Pathway Live Data Framework | COMMENT |
| MEDIUM | templates/question_answering_rag/app.yaml | 1 | # This YAML configuration file is used to set up and configure the Question Answering RAG template. | COMMENT |
| MEDIUM | templates/question_answering_rag/app.yaml | 8 | # $sources defines the data sources used to read the data which will be indexed in the RAG. | COMMENT |
| MEDIUM⚡ | templates/question_answering_rag/app.yaml | 80 | # Manages the storage and retrieval of documents for the RAG template. | COMMENT |
| MEDIUM⚡ | templates/question_answering_rag/app.yaml | 87 | # Configures the question-answering component using the RAG approach. | COMMENT |
| MEDIUM⚡ | templates/question_answering_rag/app.yaml | 88 | # The component builds a RAG over an index. | COMMENT |
| MEDIUM⚡ | templates/question_answering_rag/app.yaml | 89 | # You can interact with obtained RAG using a REST API. | COMMENT |
| MEDIUM | templates/question_answering_rag/README.md | 12 | # Pathway Live Data Framework RAG app with always up-to-date knowledge | COMMENT |
| MEDIUM | templates/question_answering_rag/README.md | 41 | This example spawns a lightweight webserver using Pathway’s [`QASummaryRestServer`](https://pathway.com/developers/api-d | CODE |
| MEDIUM | templates/question_answering_rag/README.md | 48 | ### LLM and RAG capabilities | COMMENT |
| MEDIUM | templates/question_answering_rag/README.md | 94 | ### RAG | COMMENT |
| MEDIUM | templates/question_answering_rag/README.md | 329 | #### Asking questions to LLM (With and without RAG) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | templates/slides_ai_search/app.yaml | 21 | # url: $SHAREPOINT_URL | COMMENT |
| LOW | templates/slides_ai_search/app.yaml | 101 | description: "Language of the slide. For example 'fr', 'en'" | COMMENT |
| LOW | templates/slides_ai_search/app.yaml | 121 | # Defaults to false, uncomment the following line if you want to set it to true | COMMENT |
| LOW | templates/document_store_mcp_server/app.yaml | 1 | # This YAML configuration file is used to set up and configure the Document indexing RAG template. | COMMENT |
| LOW | templates/document_store_mcp_server/app.yaml | 21 | # tenant: $SHAREPOINT_TENANT | COMMENT |
| LOW | templates/document_store_mcp_server/app.yaml | 81 | # By default, caching is enabled for UDFs with cache_strategy set. | COMMENT |
| LOW | templates/video_rag_twelvelabs/app.yaml | 1 | # This YAML configuration file sets up the TwelveLabs video RAG template. | COMMENT |
| LOW | templates/video_rag_twelvelabs/app.yaml | 21 | # - !pw.io.gdrive.read | COMMENT |
| LOW | templates/video_rag_twelvelabs/app.yaml | 81 | llm: $llm | COMMENT |
| LOW | templates/document_indexing/app.yaml | 1 | # This YAML configuration file is used to set up and configure the Document indexing RAG template. | COMMENT |
| LOW | templates/document_indexing/app.yaml | 21 | # tenant: $SHAREPOINT_TENANT | COMMENT |
| LOW | templates/document_indexing/app.yaml | 81 | # By default, when enabled, Cache is stored in .Cache directory. | COMMENT |
| LOW | templates/private_rag/app.yaml | 21 | # url: $SHAREPOINT_URL | COMMENT |
| LOW | templates/private_rag/app.yaml | 101 | strict_prompt: true | COMMENT |
| LOW | templates/multimodal_rag/app.yaml | 21 | # url: $SHAREPOINT_URL | COMMENT |
| LOW | templates/multimodal_rag/app.yaml | 101 | indexer: $document_store | COMMENT |
| LOW | templates/multimodal_rag/app.yaml | 121 | # path: ".Cache" | COMMENT |
| LOW | templates/adaptive_rag/app.yaml | 21 | # url: $SHAREPOINT_URL | COMMENT |
| LOW | templates/adaptive_rag/app.yaml | 101 | COMMENT | |
| LOW | templates/question_answering_rag/app.yaml | 21 | # url: $SHAREPOINT_URL | COMMENT |
| LOW | templates/question_answering_rag/app.yaml | 81 | $document_store: !pw.xpacks.llm.document_store.DocumentStore | COMMENT |
| LOW | templates/question_answering_rag/app.yaml | 101 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | templates/slides_ai_search/ui/ui.py | 91 | def parse_slide_id_components(slide_id: str) -> tuple[str, int, int]: | CODE |
| LOW | templates/drive_alert/app.py | 73 | def build_prompt_check_for_alert_request_and_extract_query(query: str) -> str: | CODE |
| LOW | templates/drive_alert/app.py | 94 | def build_prompt_compare_answers(new: str, old: str) -> str: | STRING |
| LOW | templates/drive_alert/app.py | 111 | def construct_notification_message(query: str, response: str) -> str: | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …/slides_ai_search/pathway_slides_ai_search/__init__.py | 104 | except Exception as e: | CODE |
| LOW | …/slides_ai_search/pathway_slides_ai_search/__init__.py | 117 | except Exception as e: | CODE |
| LOW | templates/unstructured_to_sql_on_the_fly/ui/server.py | 75 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | templates/unstructured_to_sql_on_the_fly/app.py | 208 | CODE | |
| LOW | templates/unstructured_to_sql_on_the_fly/app.py | 273 | CODE | |
| LOW | templates/drive_alert/app.py | 128 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | templates/unstructured_to_sql_on_the_fly/__init__.py | 3 | __all__ = ["run"] | CODE |
| LOW | templates/drive_alert/__init__.py | 3 | __all__ = ["run"] | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | templates/unstructured_to_sql_on_the_fly/__init__.py | 1 | CODE | |
| LOW | templates/drive_alert/__init__.py | 1 | CODE |