semantics
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
# #region LLMAnalysisPlugin [C:3] [TYPE Module] [SEMANTICS llm, analysis, dashboard, validation, documentation]
|
||||
# #region LLMAnalysisPlugin [C:5] [TYPE Module] [SEMANTICS llm, analysis, dashboard, validation, documentation]
|
||||
# @BRIEF Implements DashboardValidationPlugin and DocumentationPlugin.
|
||||
# @LAYER: Domain
|
||||
# @LAYER: Plugin
|
||||
# @RELATION INHERITS -> [PluginBase]
|
||||
# @RELATION CALLS -> [ScreenshotService]
|
||||
# @RELATION CALLS -> [LLMClient]
|
||||
# @RELATION CALLS -> [LLMProviderService]
|
||||
# @RELATION USES -> TaskContext
|
||||
# @INVARIANT: All LLM interactions must be executed as asynchronous tasks.
|
||||
# @DATA_CONTRACT: AnalysisRequest -> AnalysisResult
|
||||
|
||||
import json
|
||||
import os
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
# #region LLMAnalysisService [C:3] [TYPE Module] [SEMANTICS llm, screenshot, playwright, openai, tenacity]
|
||||
# #region LLMAnalysisService [C:5] [TYPE Module] [SEMANTICS llm, screenshot, playwright, openai, tenacity]
|
||||
# @BRIEF Services for LLM interaction and dashboard screenshots.
|
||||
# @LAYER: Domain
|
||||
# @LAYER: Plugin
|
||||
# @RELATION DEPENDS_ON -> playwright
|
||||
# @RELATION DEPENDS_ON -> openai
|
||||
# @RELATION DEPENDS_ON -> tenacity
|
||||
# @INVARIANT: Screenshots must be 1920px width and capture full page height.
|
||||
# @DATA_CONTRACT: DashboardSpec -> Screenshot + Analysis
|
||||
|
||||
import asyncio
|
||||
import base64
|
||||
|
||||
Reference in New Issue
Block a user