How ariheya/generative-ai-for-beginners works
This repository is a 21-lesson generative-AI course, not one integrated application. Its learner-to-result workflow is to study a lesson and run a language-specific sample against a model service; topics include prompt engineering, text generation, chat, search, image generation, and function calling. The search lesson also includes transcript download and enrichment utilities. The excerpts show several direct model-service calls, but do not establish how the transcript utilities connect, so those relationships are left out.
Main entry points: src/main.ts Weather lookup tool · js-githubmodels/app.js Recipe generator · src/main.ts Recipe generator · js-githubmodels/app.js Chat completion
Components 21
Course samples
- Prompt exercise
05-advanced-prompts/javascript/solution.js - Prompt exercise
05-advanced-prompts/python/aoai-solution.py - Recipe generator
06-text-generation-apps/js-githubmodels/app.js - Recipe generator
06-text-generation-apps/typescript/recipe-app/src/main.ts - Chat completion
07-building-chat-applications/js-githubmodels/app.js - Chat completion
07-building-chat-applications/typescript/chat-completions-app/src/main.ts
Search examples
- Transcript download
08-building-search-applications/scripts/transcript_download.py - Bucket enrichment
08-building-search-applications/scripts/transcript_enrich_bucket.py - Speaker enrichment
08-building-search-applications/scripts/transcript_enrich_speaker.py - Embedding enrichment
08-building-search-applications/scripts/transcript_enrich_embeddings.py - Light enrichment
08-building-search-applications/scripts/transcript_enrich_lite.py - Summary enrichment
08-building-search-applications/scripts/transcript_enrich_summaries.py - Embedding comparison
08-building-search-applications/js-githubmodels/app.js - Embedding comparison
08-building-search-applications/typescript/search-app/src/main.ts
Image examples
- Image generation
09-building-image-applications/python/aoai-solution.py - Image generation
09-building-image-applications/typescript/image-generation-app/src/main.ts
Function calling
- Flight and hotel tools
11-integrating-with-function-calling/js-githubmodels/app.js - Weather lookup tool
11-integrating-with-function-calling/typescript/function-app/src/main.ts
Other components
- Learner
- Model service
- Bing Maps API
Connections 23
- Learner → Prompt exercise: runs lesson
README.md - Learner → Prompt exercise: runs lesson
README.md - Learner → Recipe generator: runs lesson
README.md - Learner → Recipe generator: runs lesson
README.md - Learner → Chat completion: runs lesson
README.md - Learner → Chat completion: runs lesson
README.md - Learner → Embedding comparison: runs lesson
README.md - Learner → Embedding comparison: runs lesson
README.md - Learner → Image generation: runs lesson
README.md - Learner → Image generation: runs lesson
README.md - Learner → Flight and hotel tools: runs lesson
README.md - Learner → Weather lookup tool: runs lesson
README.md - Recipe generator → Model service: requests completion
06-text-generation-apps/js-githubmodels/app.js - Recipe generator → Model service: requests completion
06-text-generation-apps/typescript/recipe-app/src/main.ts - Chat completion → Model service: requests completion
07-building-chat-applications/js-githubmodels/app.js - Chat completion → Model service: requests completion
07-building-chat-applications/typescript/chat-completions-app/src/main.ts - Embedding comparison → Model service: requests embeddings
08-building-search-applications/js-githubmodels/app.js - Embedding comparison → Model service: requests embeddings
08-building-search-applications/typescript/search-app/src/main.ts - Image generation → Model service: requests image
09-building-image-applications/python/aoai-solution.py - Image generation → Model service: requests image
09-building-image-applications/typescript/image-generation-app/src/main.ts - Flight and hotel tools → Model service: requests completion
11-integrating-with-function-calling/js-githubmodels/app.js - Weather lookup tool → Model service: requests completion
11-integrating-with-function-calling/typescript/function-app/src/main.ts - Weather lookup tool → Bing Maps API: queries weather
11-integrating-with-function-calling/typescript/function-app/src/main.ts