avfranco commited on
Commit
978e4a9
·
1 Parent(s): f40da4b

ea4all-gradio-agents-mcp-hackathon-tools-refactoring-overview

Browse files
app.py CHANGED
@@ -27,7 +27,6 @@ if __name__ == '__main__':
27
  os.environ['LANGCHAIN_RUNNAME'] = runname
28
  os.environ['EA4ALL_ENV'] = ea4all_stage
29
 
30
-
31
  #ea4all-agent-entry-point
32
  from ea4all.__main__ import main
33
  main()
 
27
  os.environ['LANGCHAIN_RUNNAME'] = runname
28
  os.environ['EA4ALL_ENV'] = ea4all_stage
29
 
 
30
  #ea4all-agent-entry-point
31
  from ea4all.__main__ import main
32
  main()
ea4all/__main__.py CHANGED
@@ -11,7 +11,7 @@ def main() -> None:
11
  ssr_mode=False,
12
  mcp_server=True,
13
  inbrowser=os.getenv("GRADIO_INBROWSER", "True").lower() in ("true", "1", "yes"),
14
- auth=("ea4all", "ea4a@@"),
15
  auth_message="Please login with your credentials. Under development, will be public soon.",
16
  )
17
  except Exception as e:
 
11
  ssr_mode=False,
12
  mcp_server=True,
13
  inbrowser=os.getenv("GRADIO_INBROWSER", "True").lower() in ("true", "1", "yes"),
14
+ #auth=("ea4all", "ea4a@@"),
15
  auth_message="Please login with your credentials. Under development, will be public soon.",
16
  )
17
  except Exception as e:
ea4all/ea4all_mcp.py CHANGED
@@ -40,7 +40,7 @@ from ea4all.utils.utils import (
40
  TITLE = """
41
  # Title
42
 
43
- **Explore, Share, Together:** harness the value of `Enterprise Architecture in the era of Generative AI` to positively impact individuals and organisations.\n
44
 
45
  ## Overview
46
  """
@@ -201,13 +201,11 @@ with gr.Blocks(title="Your ArchitectGPT",fill_height=True, fill_width=True) as e
201
 
202
  agentic_qna_desc="""
203
  Hi,
204
- improve effieciency, knowledge sharing, and get valuable insights from your IT landscape using natural language.
205
- As an Enterprise Architect Agentic System I can answer questions related to Enterprise Architecture, Technology, plus the following IT Landscape sample dataset: """
206
 
207
  agentic_vqa_desc="""
208
- Hi, talk to your Architecture Diagram using natural language. Gain rapid knowledge and insights translating image to meaningful description.
209
- **Disclaimer**:
210
- - This feature should NOT BE USED to process inappropriate content, but ONLY FOR Architecture Diagrams
211
  """
212
 
213
  agentic_togaf_desc="""
@@ -322,29 +320,48 @@ with gr.Blocks(title="Your ArchitectGPT",fill_height=True, fill_width=True) as e
322
  )
323
  gr.Markdown(
324
  """
325
- ## Journey
 
 
 
326
 
327
- Audio overview summarising the key learnings, challenges, so what, stats from day-1 to last sprint. (**Powered by Google NoteBookLM**)
328
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
329
  """
330
  )
331
- podcast = gr.Audio(
332
- type="filepath",
333
- value=os.path.join(BaseConfiguration.ea4all_store, EA4ALL_PODCAST),
334
- label="EA4ALL Journey Podcast",
335
- show_download_button=False,
336
- autoplay=False,
337
- container=True,
338
- interactive=False,
339
- )
340
- #gr.Markdown(value=wrapper.click(UIUtils.ea4all_about, show_api=False)) #EXPOSING API /Dependency
341
 
342
  #Avoid exposing API /Dependency?
343
  #dbr_text.change(wrapper1.click(init_dbr,show_api=False)) NOT working
344
 
345
- #Podcast upload progress
346
- podcast.change(show_progress='full', show_api=False)
347
-
348
  #Togaf upload file
349
  #dbr_file.clear(unload_dbr,outputs=dbr_text)
350
  #dbr_file.change(on_dbrtext,inputs=dbr_file,outputs=dbr_text)
 
40
  TITLE = """
41
  # Title
42
 
43
+ **Explore, Share, Together:** harness the value of `Enterprise Architecture in the era of Generative AI` with ready-to-use MCP Tools.\n
44
 
45
  ## Overview
46
  """
 
201
 
202
  agentic_qna_desc="""
203
  Hi,
204
+ Improve Architect's ability to share knowledge, and provide valuable insights from IT landscape using natural language answering questions related to Enterprise Architecture, Technology, plus the following IT Landscape sample dataset: """
 
205
 
206
  agentic_vqa_desc="""
207
+ Hi,
208
+ Gain rapid knowledge and insights translating image to meaningful description.
 
209
  """
210
 
211
  agentic_togaf_desc="""
 
320
  )
321
  gr.Markdown(
322
  """
323
+ - `Empower individuals with Knowledge`: understand and talk about Business and Technology strategy, IT landscape, Architectue Artefacts in a single click of button.
324
+ - `Increase efficiency and productivity`: generate a documented architecture with diagram, model and descriptions. Accelerate Business Requirement identification and translation to Target Reference Architecture. Automated steps and reduced times for task execution.
325
+ - `Improve agility`: plan, execute, review and iterate over EA inputs and outputs. Increase the ability to adapt, transform and execute at pace and scale in response to changes in strategy, threats and opportunities.
326
+ - `Increase collaboration`: democratise architecture work and knowledge with anyone using natural language.
327
 
328
+ ### Knowledge Context
329
 
330
+ Synthetic datasets are used to exemplify the Agentic System capabilities.
331
+
332
+ ### IT Landscape Question and Answering
333
+
334
+ - Application name
335
+ - Business fit: appropriate, inadequate, perfect
336
+ - Technical fit: adequate, insufficient, perfect
337
+ - Business_criticality: operational, medium, high, critical
338
+ - Roadmap: maintain, invest, divers
339
+ - Architect responsible
340
+ - Hosting: user device, on-premise, IaaS, SaaS
341
+ - Business capability
342
+ - Business domain
343
+ - Description
344
+
345
+
346
+ ### Architecture Diagram Visual Question and Answering
347
+
348
+ - Architecture Visual Artefacts
349
+ - jpeg, png
350
+
351
+ **Disclaimer**
352
+ - Your data & image are not accessible or shared with anyone else nor used for training purpose.
353
+ - EA4ALL-VQA Agent should be used ONLY FOR Architecture Diagram images.
354
+ - This feature should NOT BE USED to process inappropriate content.
355
+
356
+ ### Reference Architecture Generation
357
+
358
+ - Clock in/out Use-case
359
  """
360
  )
 
 
 
 
 
 
 
 
 
 
361
 
362
  #Avoid exposing API /Dependency?
363
  #dbr_text.change(wrapper1.click(init_dbr,show_api=False)) NOT working
364
 
 
 
 
365
  #Togaf upload file
366
  #dbr_file.clear(unload_dbr,outputs=dbr_text)
367
  #dbr_file.change(on_dbrtext,inputs=dbr_file,outputs=dbr_text)
ea4all/ea4all_store/ea4all_overview.txt CHANGED
@@ -1,27 +1,13 @@
1
- ## Background
2
-
3
- - `Trigger`: How disruptive may Generative AI be for Enterprise Architecture Capability (People, Process and Tools)?
4
- - `Motivation`: Master GenAI while disrupting Enterprise Architecture to empower individuals and organisations with ability to harness EA value and make people lives better, safer and more efficient.
5
- - `Ability`: Exploit my carrer background and skillset across system development, business accumen, innovation and architecture to accelerate GenAI exploration while learning new things.
6
-
7
- > That's how the `EA4ALL-Agentic system` was born and ever since continuously evolving to build an ecosystem of **Architects Agent partners**.
8
-
9
- ## Benefits
10
-
11
  - `Empower individuals with Knowledge`: understand and talk about Business and Technology strategy, IT landscape, Architectue Artefacts in a single click of button.
12
  - `Increase efficiency and productivity`: generate a documented architecture with diagram, model and descriptions. Accelerate Business Requirement identification and translation to Target Reference Architecture. Automated steps and reduced times for task execution.
13
  - `Improve agility`: plan, execute, review and iterate over EA inputs and outputs. Increase the ability to adapt, transform and execute at pace and scale in response to changes in strategy, threats and opportunities.
14
  - `Increase collaboration`: democratise architecture work and knowledge with anyone using natural language.
15
- - `Cost optimisation`: intelligent allocation of architects time for valuable business tasks.
16
- - `Business Growth`: create / re-use of (new) products and services, and people experience enhancements.
17
- - `Resilience`: assess solution are secured by design, poses any risk and how to mitigate, apply best-practices.
18
-
19
 
20
- ## Knowledge context
21
 
22
  Synthetic datasets are used to exemplify the Agentic System capabilities.
23
 
24
- ### IT Landscape Question and Answering
25
 
26
  - Application name
27
  - Business fit: appropriate, inadequate, perfect
@@ -34,12 +20,8 @@ Synthetic datasets are used to exemplify the Agentic System capabilities.
34
  - Business domain
35
  - Description
36
 
37
- - Bring Your Own Data: upload your own IT landscape data
38
- - Application Portfolio Management
39
- - xlsx tabular format
40
- - first row (header) with fields name (colums)
41
 
42
- ### Architecture Diagram Visual Question and Answering
43
 
44
  - Architecture Visual Artefacts
45
  - jpeg, png
@@ -49,48 +31,6 @@ Synthetic datasets are used to exemplify the Agentic System capabilities.
49
  - EA4ALL-VQA Agent should be used ONLY FOR Architecture Diagram images.
50
  - This feature should NOT BE USED to process inappropriate content.
51
 
52
- ### Reference Architecture Generation
53
 
54
  - Clock in/out Use-case
55
-
56
- ## Log / Traceability
57
-
58
- For purpose of continuous improvement, agentic workflows are logged in.
59
-
60
- ## Architecture
61
-
62
- <italic>Core architecture built upon python, langchain, meta-faiss, gradio and Openai.<italic>
63
-
64
- - Python
65
- - Pandas
66
- - Langchain
67
- - Langsmith
68
- - Langgraph
69
- - Huggingface
70
-
71
- - RAG (Retrieval Augmented Generation)
72
- - Vectorstore
73
-
74
- - Prompt Engineering
75
- - Strategy & tactics: Task / Sub-tasks
76
- - Agentic Workflow
77
-
78
- - Models:
79
- - OpenAI
80
- - Llama
81
-
82
- - Hierarchical-Agent-Teams:
83
- - Tabular-question-answering over your own document
84
- - Supervisor
85
- - Visual Questions Answering
86
- - Diagram Component Analysis
87
- - Risk & Vulnerability and Mitigation options
88
- - Well-Architecture Design Assessment
89
- - Vision and Target Architecture
90
-
91
- - User Interface
92
- - Gradio
93
-
94
- - Hosting: Huggingface Space
95
-
96
- ## Agentic System Architecture
 
 
 
 
 
 
 
 
 
 
 
1
  - `Empower individuals with Knowledge`: understand and talk about Business and Technology strategy, IT landscape, Architectue Artefacts in a single click of button.
2
  - `Increase efficiency and productivity`: generate a documented architecture with diagram, model and descriptions. Accelerate Business Requirement identification and translation to Target Reference Architecture. Automated steps and reduced times for task execution.
3
  - `Improve agility`: plan, execute, review and iterate over EA inputs and outputs. Increase the ability to adapt, transform and execute at pace and scale in response to changes in strategy, threats and opportunities.
4
  - `Increase collaboration`: democratise architecture work and knowledge with anyone using natural language.
 
 
 
 
5
 
6
+ Knowledge Context
7
 
8
  Synthetic datasets are used to exemplify the Agentic System capabilities.
9
 
10
+ IT Landscape Question and Answering
11
 
12
  - Application name
13
  - Business fit: appropriate, inadequate, perfect
 
20
  - Business domain
21
  - Description
22
 
 
 
 
 
23
 
24
+ Architecture Diagram Visual Question and Answering
25
 
26
  - Architecture Visual Artefacts
27
  - jpeg, png
 
31
  - EA4ALL-VQA Agent should be used ONLY FOR Architecture Diagram images.
32
  - This feature should NOT BE USED to process inappropriate content.
33
 
34
+ Reference Architecture Generation
35
 
36
  - Clock in/out Use-case
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ea4all/images/ea4all_architecture.png CHANGED

Git LFS Details

  • SHA256: ce12165259e38251a78e52b4ce2e4e1b789d9ce555d6cf9472832e1d02462fec
  • Pointer size: 131 Bytes
  • Size of remote file: 194 kB

Git LFS Details

  • SHA256: 425e7e82bdf6fee84474a944a2d6da5580253ca06e21472a9efaef5b0934a03c
  • Pointer size: 131 Bytes
  • Size of remote file: 119 kB