avfranco commited on
Commit
f2cfb3a
β€’
1 Parent(s): 28fdc46

ea4all-empowering-you-with-enterprise-architecture-knowledge

Browse files
Files changed (2) hide show
  1. Dockerfile +3 -7
  2. README.md +58 -5
Dockerfile CHANGED
@@ -15,6 +15,9 @@ WORKDIR $HOME
15
 
16
  # Get secret OPENAI_API_KEY and clone it as repo at buildtime / changed required to true
17
  RUN --mount=type=secret,id=OPENAI_API_KEY,mode=0444,required=true
 
 
 
18
  RUN --mount=type=secret,id=HF_TOKEN,mode=0444,required=true \
19
  cat /run/secrets/HF_TOKEN > /home/user/cli_token
20
 
@@ -30,12 +33,5 @@ RUN git clone https://avfranco:$(cat cli_token)@huggingface.co/spaces/avfranco/e
30
  WORKDIR /home/user/ea4all-agent
31
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
32
 
33
- #RUN git clone https://huggingface.co/spaces/avfranco/ea4all-docker-demo
34
- #WORKDIR /home/user/ea4all-docker-demo
35
- #RUN pip install --no-cache-dir --upgrade -r requirements.txt
36
-
37
- # Clear the logs
38
- #RUN echo "" > $(docker inspect --format='{{.LogPath}}' ea4all-gradio-pnp)
39
-
40
 
41
  CMD ["python","app.py"]
 
15
 
16
  # Get secret OPENAI_API_KEY and clone it as repo at buildtime / changed required to true
17
  RUN --mount=type=secret,id=OPENAI_API_KEY,mode=0444,required=true
18
+ # Langsmith tracing integration
19
+ RUN --mount=type=secret,id=LANGCHAIN_API_KEY,mode=0444,required=true
20
+ # HF private spaces token access
21
  RUN --mount=type=secret,id=HF_TOKEN,mode=0444,required=true \
22
  cat /run/secrets/HF_TOKEN > /home/user/cli_token
23
 
 
33
  WORKDIR /home/user/ea4all-agent
34
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
35
 
 
 
 
 
 
 
 
36
 
37
  CMD ["python","app.py"]
README.md CHANGED
@@ -1,11 +1,64 @@
1
  ---
2
- title: ea4all-architect-agent
3
- emoji: ⚑
4
- colorFrom: blue
5
- colorTo: red
6
  sdk: docker
7
  pinned: false
8
  license: mit
9
  ---
10
 
11
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ title: Talk to your IT landscape
3
+ emoji: πŸ‘
4
+ colorFrom: purple
5
+ colorTo: green
6
  sdk: docker
7
  pinned: false
8
  license: mit
9
  ---
10
 
11
+ # Title
12
+
13
+ Empower you with access to the value of Enterprise Architecture Knowledge using my Generative AI abilities.
14
+
15
+
16
+ # My Name
17
+
18
+ ea4all-agent-gpt, your Architect to talk about Enterprise landscape using your own language.
19
+
20
+ ## Overview
21
+
22
+ What if you could interact with your enterprise architecture landscape using natural language, for example, ask what oppurtinities for simplification it may have. So, you would be able to identify initial options to a new business problem or assess impact of changes. That's not all, you would be able to understand what applications support a business capability or their roadmap, enhance the governance and assurance process to accelerate the solution architecture delivery, improve quality and increase collaboration.
23
+
24
+ ## Dataset
25
+
26
+ Synthetic structured data with following colums: application, business fit, technical fit, business criticality, roadmap, architect, hosting, capability, domain, description
27
+
28
+ ## Bring you own data
29
+
30
+ Upload a xlsx formate file with your own landscape data and start learning more
31
+
32
+ ## Architecture
33
+
34
+ <italic>Core architecture built upon python, langchain, gradio and Openai.<italic>
35
+
36
+ - Python 3.11.3
37
+ - Pandas
38
+ - Langchain
39
+ - Langsmith
40
+
41
+ - RAG (Retrieval Augmented Generation)
42
+ - Vectorstore: Faiss (Facebook AI Similarity Search)
43
+
44
+ - Prompt Engineering
45
+ - Strategy & tactics: Task / Sub-tasks
46
+
47
+ - Model: OpenAI GPT 3.5-turbo-1106
48
+
49
+ - Task: tabular-question-answering over your own document
50
+
51
+ - User Interface
52
+ - Gradio
53
+
54
+ - Hosting: Huggingface Space
55
+ - CPU basic
56
+ - 2vCPU 16GB RAM
57
+
58
+ - Deployment
59
+ - Docker spaces
60
+
61
+ ## Agent Architecture
62
+ ![Agent System Container](./ea4all/apm_architecture/ea4all_agent_container.png)
63
+
64
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference