# design-zeng/ebd-triz-llm architecture

> Architecture diagram of the GitHub repository design-zeng/ebd-triz-llm, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-08). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/design-zeng/ebd-triz-llm
- Repository: https://github.com/design-zeng/ebd-triz-llm

## Overview

This repository presents an interactive, notebook-based workflow for combining Environment-Based Design (EBD), TRIZ, and an LLM to develop and evaluate design ideas. The README documents six stages, from problem input through ideation, plus evaluation of generated ideas. Components and relationships below are based on the README; no notebook source excerpts were available to verify implementation details.

Main entry points: [`EBD_TRIZ_LLM.ipynb`](https://github.com/design-zeng/ebd-triz-llm/blob/main/EBD_TRIZ_LLM.ipynb) (Idea Generation)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_framing["EBD Problem Framing"]
  node_problem["Design Problem<br/>[EBD_TRIZ_LLM.ipynb]"]
  node_questions["Question Generation<br/>[EBD_TRIZ_LLM.ipynb]"]
  node_answers["Answer Processing<br/>[EBD_TRIZ_LLM.ipynb]"]
end

subgraph group_analysis["Design Analysis"]
  node_interactions["Interaction Extraction<br/>[EBD_TRIZ_LLM.ipynb]"]
  node_functional["Functional Analysis<br/>[EBD_TRIZ_LLM.ipynb]"]
end

subgraph group_ideation["TRIZ Ideation"]
  node_principles["TRIZ Principles<br/>[EBD_TRIZ_LLM.ipynb]"]
  node_ideas["Idea Generation<br/>[EBD_TRIZ_LLM.ipynb]"]
  node_evaluation["Idea Evaluation<br/>[EBD_TRIZ_LLM.ipynb]"]
end

node_designer(("Designer"))
node_llm["OpenAI GPT"]

node_designer -->|"provides goal"| node_problem
node_problem -->|"frames questions"| node_questions
node_questions -->|"generates questions"| node_llm
node_questions -->|"guides answers"| node_answers
node_answers -->|"processes answers"| node_llm
node_answers -->|"provides answers"| node_interactions
node_interactions -->|"informs analysis"| node_functional
node_functional -->|"identifies contradictions"| node_ideas
node_principles -->|"guides ideation"| node_ideas
node_ideas -->|"generates ideas"| node_llm
node_ideas -->|"evaluates ideas"| node_evaluation

click node_problem "https://github.com/design-zeng/ebd-triz-llm/blob/main/EBD_TRIZ_LLM.ipynb"
click node_questions "https://github.com/design-zeng/ebd-triz-llm/blob/main/EBD_TRIZ_LLM.ipynb"
click node_answers "https://github.com/design-zeng/ebd-triz-llm/blob/main/EBD_TRIZ_LLM.ipynb"
click node_interactions "https://github.com/design-zeng/ebd-triz-llm/blob/main/EBD_TRIZ_LLM.ipynb"
click node_functional "https://github.com/design-zeng/ebd-triz-llm/blob/main/EBD_TRIZ_LLM.ipynb"
click node_principles "https://github.com/design-zeng/ebd-triz-llm/blob/main/EBD_TRIZ_LLM.ipynb"
click node_ideas "https://github.com/design-zeng/ebd-triz-llm/blob/main/EBD_TRIZ_LLM.ipynb"
click node_evaluation "https://github.com/design-zeng/ebd-triz-llm/blob/main/EBD_TRIZ_LLM.ipynb"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_problem,node_questions,node_answers toneBlue
class node_interactions,node_functional toneAmber
class node_principles,node_ideas,node_evaluation toneMint
class node_designer,node_llm toneIndigo
```

## Components

### EBD Problem Framing

- [Design Problem](https://github.com/design-zeng/ebd-triz-llm/blob/main/EBD_TRIZ_LLM.ipynb): `EBD_TRIZ_LLM.ipynb`
- [Question Generation](https://github.com/design-zeng/ebd-triz-llm/blob/main/EBD_TRIZ_LLM.ipynb): `EBD_TRIZ_LLM.ipynb`
- [Answer Processing](https://github.com/design-zeng/ebd-triz-llm/blob/main/EBD_TRIZ_LLM.ipynb): `EBD_TRIZ_LLM.ipynb`

### Design Analysis

- [Interaction Extraction](https://github.com/design-zeng/ebd-triz-llm/blob/main/EBD_TRIZ_LLM.ipynb): `EBD_TRIZ_LLM.ipynb`
- [Functional Analysis](https://github.com/design-zeng/ebd-triz-llm/blob/main/EBD_TRIZ_LLM.ipynb): `EBD_TRIZ_LLM.ipynb`

### TRIZ Ideation

- [TRIZ Principles](https://github.com/design-zeng/ebd-triz-llm/blob/main/EBD_TRIZ_LLM.ipynb): `EBD_TRIZ_LLM.ipynb`
- [Idea Generation](https://github.com/design-zeng/ebd-triz-llm/blob/main/EBD_TRIZ_LLM.ipynb): `EBD_TRIZ_LLM.ipynb`
- [Idea Evaluation](https://github.com/design-zeng/ebd-triz-llm/blob/main/EBD_TRIZ_LLM.ipynb): `EBD_TRIZ_LLM.ipynb`

### Other components

- **Designer**
- **OpenAI GPT**

## Connections

- Designer → Design Problem: provides goal (evidence: `README.md`)
- Design Problem → Question Generation: frames questions (evidence: `README.md`)
- Question Generation → OpenAI GPT: generates questions (evidence: `README.md`)
- Question Generation → Answer Processing: guides answers (evidence: `README.md`)
- Answer Processing → OpenAI GPT: processes answers (evidence: `README.md`)
- Answer Processing → Interaction Extraction: provides answers (evidence: `README.md`)
- Interaction Extraction → Functional Analysis: informs analysis (evidence: `README.md`)
- Functional Analysis → Idea Generation: identifies contradictions (evidence: `README.md`)
- TRIZ Principles → Idea Generation: guides ideation (evidence: `README.md`)
- Idea Generation → OpenAI GPT: generates ideas (evidence: `README.md`)
- Idea Generation → Idea Evaluation: evaluates ideas (evidence: `README.md`)
