How kuiyin-knowhow/generative-ai-for-beginners works
This repository is a 21-lesson educational course, not a single deployed application. The visible product workflow is learners studying concepts and running lesson-specific examples to build generative-AI apps. The graph preserves the sampled prompting, text, chat, search, image, and function-calling topics, plus the shared Python utilities. Source excerpts show direct model and tool calls for some examples; other lesson links are documented only at the course level, so those are not inferred as runtime connections.
Main entry points: src/main.ts Function-calling app · js-githubmodels/app.js Local flight and hotel tools · js-githubmodels/app.js Chat app · src/main.ts Embedding similarity
Components 22
App-building lessons
- Prompt engineering
05-advanced-prompts - Text generation
06-text-generation-apps - Recipe app
06-text-generation-apps/typescript/recipe-app/src/main.ts - Chat app
07-building-chat-applications/js-githubmodels/app.js - Image generation
09-building-image-applications
Search applications
- Embedding similarity
08-building-search-applications/typescript/search-app/src/main.ts - Search model example
08-building-search-applications/js-githubmodels/app.js - Transcript processing
08-building-search-applications/scripts - Transcript download
08-building-search-applications/scripts/transcript_download.py - Transcript enrichment
08-building-search-applications/scripts - Bucket enrichment
08-building-search-applications/scripts/transcript_enrich_bucket.py - Embedding enrichment
08-building-search-applications/scripts/transcript_enrich_embeddings.py - Speaker enrichment
08-building-search-applications/scripts/transcript_enrich_speaker.py - Summary enrichment
08-building-search-applications/scripts/transcript_enrich_summaries.py
Function calling
- Function-calling app
11-integrating-with-function-calling/typescript/function-app/src/main.ts - Local flight and hotel tools
11-integrating-with-function-calling/js-githubmodels/app.js
Shared Python utilities
- Environment helpers
shared/python/env_utils.py - Input validation
shared/python/input_validation.py - API utilities
shared/python/api_utils.py
Other components
- Learner
- Generative AI service
- Bing Maps API
Connections 16
- Learner → Prompt engineering: studies
README.md - Learner → Text generation: runs examples
README.md - Learner → Chat app: runs examples
README.md - Learner → Embedding similarity: runs examples
README.md - Learner → Image generation: runs examples
README.md - Learner → Function-calling app: runs examples
README.md - Recipe app → Generative AI service: requests completions
06-text-generation-apps/typescript/recipe-app/src/main.ts - Chat app → Generative AI service: requests completions
07-building-chat-applications/js-githubmodels/app.js - Embedding similarity → Generative AI service: requests embeddings
08-building-search-applications/typescript/search-app/src/main.ts - Search model example → Generative AI service: requests embeddings
08-building-search-applications/js-githubmodels/app.js - Function-calling app → Generative AI service: requests response
11-integrating-with-function-calling/typescript/function-app/src/main.ts - Function-calling app → Bing Maps API: fetches weather
11-integrating-with-function-calling/typescript/function-app/src/main.ts - Local flight and hotel tools → Generative AI service: requests tool calls
11-integrating-with-function-calling/js-githubmodels/app.js - Local flight and hotel tools → Local flight and hotel tools: dispatches tools
11-integrating-with-function-calling/js-githubmodels/app.js - Transcript download → Transcript processing: produces transcripts
- Transcript enrichment → Transcript processing: processes transcripts