# pavanpatil2273/generative_ai_scfu123009 architecture

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

- Interactive diagram: https://gitdiagram.com/pavanpatil2273/generative_ai_scfu123009
- Repository: https://github.com/pavanpatil2273/generative_ai_scfu123009

## Overview

This repository is a collection of standalone prompt-engineering and LLM workflow exercises, rather than one integrated application. The user supplies text or structured input to an individual script; that script may call an external model and print a response or a staged result. The graph highlights the sampled chat, document-analysis, hiring, meeting, pitch, research, RAG, and loan-calculation examples. Files without sampled behavior are omitted, so the unexcerpted notebook and other exercises are not mapped; edges show only relationships visible in the excerpts.

Main entry points: [`Lab4/Exe_2.py`](https://github.com/pavanpatil2273/generative_ai_scfu123009/blob/main/Lab4/Exe_2.py) (News fact card), [`LAB5/Exe_3.py`](https://github.com/pavanpatil2273/generative_ai_scfu123009/blob/main/LAB5/Exe_3.py) (Interview scorecard), [`Lab4/Exe_1.py`](https://github.com/pavanpatil2273/generative_ai_scfu123009/blob/main/Lab4/Exe_1.py) (Job outreach), [`Lab4/Exe_3.py`](https://github.com/pavanpatil2273/generative_ai_scfu123009/blob/main/Lab4/Exe_3.py) (Meeting action items)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_conversation["Conversational assistants"]
  node_chatbot["AIML tutor chat<br/>[Chatbot.py]"]
  node_club["Club recommender<br/>[EX_1.py]"]
  node_medical["Clinical summary<br/>[summary.py]"]
end

subgraph group_analysis["Document analysis"]
  node_fact["News fact card<br/>[Exe_2.py]"]
  node_review_ticket["Review ticket exercise<br/>[Exe_1.py]"]
  node_research["Research explainer<br/>[Exe_2.py]"]
  node_interview["Interview scorecard<br/>[Exe_3.py]"]
  node_interview_extract["Answer extraction<br/>[Exe_3.py]"]
  node_interview_evaluate["Skill evaluation<br/>[Exe_3.py]"]
  node_interview_format["Scorecard formatting<br/>[Exe_3.py]"]
  node_rag["PDF summary<br/>[RAG.py]"]
end

subgraph group_workflows["Generation workflows"]
  node_job["Job outreach<br/>[Exe_1.py]"]
  node_meeting["Meeting action items<br/>[Exe_3.py]"]
  node_meeting_summary["Discussion summary<br/>[Exe_3.py]"]
  node_meeting_actions["Action extraction<br/>[Exe_3.py]"]
  node_meeting_table["Task table<br/>[Exe_3.py]"]
  node_pitch["Product pitch<br/>[Exe_4.py]"]
  node_pitch_structured["Structured pitch<br/>[Exe_4.py]"]
  node_pitch_investor["Investor pitch<br/>[Exe_4.py]"]
end

subgraph group_utilities["Standalone tools"]
  node_loan["Loan EMI calculator<br/>[LoanCalculator.py]"]
end

node_user(("User"))
node_groq{{"Groq API"}}
node_nvidia{{"NVIDIA API"}}

node_user -->|"enters prompts"| node_chatbot
node_chatbot -->|"requests completion"| node_groq
node_user -->|"enters prompt"| node_club
node_club -->|"requests completion"| node_groq
node_user -->|"enters notes"| node_medical
node_medical -->|"requests summary"| node_groq
node_user -->|"provides job and profile"| node_job
node_job -->|"extracts requirements"| node_nvidia
node_job -->|"generates outreach"| node_nvidia
node_user -->|"provides article"| node_fact
node_fact -->|"extracts claims"| node_nvidia
node_fact -->|"generates fact card"| node_nvidia
node_user -->|"provides transcript"| node_meeting
node_meeting -->|"creates summary"| node_meeting_summary
node_meeting_summary -->|"feeds summary"| node_meeting_actions
node_meeting_actions -->|"formats tasks"| node_meeting_table
node_meeting -->|"requests model output"| node_groq
node_user -->|"provides idea"| node_pitch
node_pitch -->|"creates structure"| node_pitch_structured
node_pitch_structured -->|"supplies pitch details"| node_pitch_investor
node_pitch -->|"requests completions"| node_groq
node_user -->|"provides review"| node_review_ticket
node_review_ticket -->|"invokes model"| node_groq
node_user -->|"provides abstract"| node_research
node_research -->|"runs prompt chains"| node_groq
node_user -->|"provides transcript and skills"| node_interview
node_interview -->|"extracts answers"| node_interview_extract
node_interview_extract -->|"evaluates answers"| node_interview_evaluate
node_interview_evaluate -->|"formats scorecard"| node_interview_format
node_interview -->|"runs prompt chains"| node_groq
node_user -->|"runs script"| node_rag
node_rag -->|"summarizes page"| node_groq
node_user -->|"enters loan inputs"| node_loan

click node_chatbot "https://github.com/pavanpatil2273/generative_ai_scfu123009/blob/main/Activity_9%20Chatbot/Chatbot.py"
click node_club "https://github.com/pavanpatil2273/generative_ai_scfu123009/blob/main/Excersie/EX_1.py"
click node_medical "https://github.com/pavanpatil2273/generative_ai_scfu123009/blob/main/Doctor/summary.py"
click node_job "https://github.com/pavanpatil2273/generative_ai_scfu123009/blob/main/Lab4/Exe_1.py"
click node_fact "https://github.com/pavanpatil2273/generative_ai_scfu123009/blob/main/Lab4/Exe_2.py"
click node_meeting "https://github.com/pavanpatil2273/generative_ai_scfu123009/blob/main/Lab4/Exe_3.py"
click node_meeting_summary "https://github.com/pavanpatil2273/generative_ai_scfu123009/blob/main/Lab4/Exe_3.py"
click node_meeting_actions "https://github.com/pavanpatil2273/generative_ai_scfu123009/blob/main/Lab4/Exe_3.py"
click node_meeting_table "https://github.com/pavanpatil2273/generative_ai_scfu123009/blob/main/Lab4/Exe_3.py"
click node_pitch "https://github.com/pavanpatil2273/generative_ai_scfu123009/blob/main/Lab4/Exe_4.py"
click node_pitch_structured "https://github.com/pavanpatil2273/generative_ai_scfu123009/blob/main/Lab4/Exe_4.py"
click node_pitch_investor "https://github.com/pavanpatil2273/generative_ai_scfu123009/blob/main/Lab4/Exe_4.py"
click node_review_ticket "https://github.com/pavanpatil2273/generative_ai_scfu123009/blob/main/LAB5/Exe_1.py"
click node_research "https://github.com/pavanpatil2273/generative_ai_scfu123009/blob/main/LAB5/Exe_2.py"
click node_interview "https://github.com/pavanpatil2273/generative_ai_scfu123009/blob/main/LAB5/Exe_3.py"
click node_interview_extract "https://github.com/pavanpatil2273/generative_ai_scfu123009/blob/main/LAB5/Exe_3.py"
click node_interview_evaluate "https://github.com/pavanpatil2273/generative_ai_scfu123009/blob/main/LAB5/Exe_3.py"
click node_interview_format "https://github.com/pavanpatil2273/generative_ai_scfu123009/blob/main/LAB5/Exe_3.py"
click node_rag "https://github.com/pavanpatil2273/generative_ai_scfu123009/blob/main/LAB5/RAG.py"
click node_loan "https://github.com/pavanpatil2273/generative_ai_scfu123009/blob/main/LAB5/LoanCalculator.py"

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_chatbot,node_club,node_medical,node_user toneBlue
class node_fact,node_review_ticket,node_research,node_interview,node_interview_extract,node_interview_evaluate,node_interview_format,node_rag toneAmber
class node_job,node_meeting,node_meeting_summary,node_meeting_actions,node_meeting_table,node_pitch,node_pitch_structured,node_pitch_investor,node_groq,node_nvidia toneMint
class node_loan toneRose
```

## Components

### Conversational assistants

- [AIML tutor chat](https://github.com/pavanpatil2273/generative_ai_scfu123009/blob/main/Activity_9%20Chatbot/Chatbot.py): `Activity_9 Chatbot/Chatbot.py`
- [Club recommender](https://github.com/pavanpatil2273/generative_ai_scfu123009/blob/main/Excersie/EX_1.py): `Excersie/EX_1.py`
- [Clinical summary](https://github.com/pavanpatil2273/generative_ai_scfu123009/blob/main/Doctor/summary.py): `Doctor/summary.py`

### Document analysis

- [News fact card](https://github.com/pavanpatil2273/generative_ai_scfu123009/blob/main/Lab4/Exe_2.py): `Lab4/Exe_2.py`
- [Review ticket exercise](https://github.com/pavanpatil2273/generative_ai_scfu123009/blob/main/LAB5/Exe_1.py): `LAB5/Exe_1.py`
- [Research explainer](https://github.com/pavanpatil2273/generative_ai_scfu123009/blob/main/LAB5/Exe_2.py): `LAB5/Exe_2.py`
- [Interview scorecard](https://github.com/pavanpatil2273/generative_ai_scfu123009/blob/main/LAB5/Exe_3.py): `LAB5/Exe_3.py`
- [Answer extraction](https://github.com/pavanpatil2273/generative_ai_scfu123009/blob/main/LAB5/Exe_3.py): `LAB5/Exe_3.py`
- [Skill evaluation](https://github.com/pavanpatil2273/generative_ai_scfu123009/blob/main/LAB5/Exe_3.py): `LAB5/Exe_3.py`
- [Scorecard formatting](https://github.com/pavanpatil2273/generative_ai_scfu123009/blob/main/LAB5/Exe_3.py): `LAB5/Exe_3.py`
- [PDF summary](https://github.com/pavanpatil2273/generative_ai_scfu123009/blob/main/LAB5/RAG.py): `LAB5/RAG.py`

### Generation workflows

- [Job outreach](https://github.com/pavanpatil2273/generative_ai_scfu123009/blob/main/Lab4/Exe_1.py): `Lab4/Exe_1.py`
- [Meeting action items](https://github.com/pavanpatil2273/generative_ai_scfu123009/blob/main/Lab4/Exe_3.py): `Lab4/Exe_3.py`
- [Discussion summary](https://github.com/pavanpatil2273/generative_ai_scfu123009/blob/main/Lab4/Exe_3.py): `Lab4/Exe_3.py`
- [Action extraction](https://github.com/pavanpatil2273/generative_ai_scfu123009/blob/main/Lab4/Exe_3.py): `Lab4/Exe_3.py`
- [Task table](https://github.com/pavanpatil2273/generative_ai_scfu123009/blob/main/Lab4/Exe_3.py): `Lab4/Exe_3.py`
- [Product pitch](https://github.com/pavanpatil2273/generative_ai_scfu123009/blob/main/Lab4/Exe_4.py): `Lab4/Exe_4.py`
- [Structured pitch](https://github.com/pavanpatil2273/generative_ai_scfu123009/blob/main/Lab4/Exe_4.py): `Lab4/Exe_4.py`
- [Investor pitch](https://github.com/pavanpatil2273/generative_ai_scfu123009/blob/main/Lab4/Exe_4.py): `Lab4/Exe_4.py`

### Standalone tools

- [Loan EMI calculator](https://github.com/pavanpatil2273/generative_ai_scfu123009/blob/main/LAB5/LoanCalculator.py): `LAB5/LoanCalculator.py`

### Other components

- **User**
- **Groq API**
- **NVIDIA API**

## Connections

- User → AIML tutor chat: enters prompts (evidence: `Activity_9 Chatbot/Chatbot.py`)
- AIML tutor chat → Groq API: requests completion (evidence: `Activity_9 Chatbot/Chatbot.py`)
- User → Club recommender: enters prompt (evidence: `Excersie/EX_1.py`)
- Club recommender → Groq API: requests completion (evidence: `Excersie/EX_1.py`)
- User → Clinical summary: enters notes (evidence: `Doctor/summary.py`)
- Clinical summary → Groq API: requests summary (evidence: `Doctor/summary.py`)
- User → Job outreach: provides job and profile (evidence: `Lab4/Exe_1.py`)
- Job outreach → NVIDIA API: extracts requirements (evidence: `Lab4/Exe_1.py`)
- Job outreach → NVIDIA API: generates outreach (evidence: `Lab4/Exe_1.py`)
- User → News fact card: provides article (evidence: `Lab4/Exe_2.py`)
- News fact card → NVIDIA API: extracts claims (evidence: `Lab4/Exe_2.py`)
- News fact card → NVIDIA API: generates fact card (evidence: `Lab4/Exe_2.py`)
- User → Meeting action items: provides transcript (evidence: `Lab4/Exe_3.py`)
- Meeting action items → Discussion summary: creates summary (evidence: `Lab4/Exe_3.py`)
- Discussion summary → Action extraction: feeds summary (evidence: `Lab4/Exe_3.py`)
- Action extraction → Task table: formats tasks (evidence: `Lab4/Exe_3.py`)
- Meeting action items → Groq API: requests model output (evidence: `Lab4/Exe_3.py`)
- User → Product pitch: provides idea (evidence: `Lab4/Exe_4.py`)
- Product pitch → Structured pitch: creates structure (evidence: `Lab4/Exe_4.py`)
- Structured pitch → Investor pitch: supplies pitch details (evidence: `Lab4/Exe_4.py`)
- Product pitch → Groq API: requests completions (evidence: `Lab4/Exe_4.py`)
- User → Review ticket exercise: provides review (evidence: `LAB5/Exe_1.py`)
- Review ticket exercise → Groq API: invokes model (evidence: `LAB5/Exe_1.py`)
- User → Research explainer: provides abstract (evidence: `LAB5/Exe_2.py`)
- Research explainer → Groq API: runs prompt chains (evidence: `LAB5/Exe_2.py`)
- User → Interview scorecard: provides transcript and skills (evidence: `LAB5/Exe_3.py`)
- Interview scorecard → Answer extraction: extracts answers (evidence: `LAB5/Exe_3.py`)
- Answer extraction → Skill evaluation: evaluates answers (evidence: `LAB5/Exe_3.py`)
- Skill evaluation → Scorecard formatting: formats scorecard (evidence: `LAB5/Exe_3.py`)
- Interview scorecard → Groq API: runs prompt chains (evidence: `LAB5/Exe_3.py`)
- User → PDF summary: runs script (evidence: `LAB5/RAG.py`)
- PDF summary → Groq API: summarizes page (evidence: `LAB5/RAG.py`)
- User → Loan EMI calculator: enters loan inputs (evidence: `LAB5/LoanCalculator.py`)
