LLM Application Engineering
Build a bilingual support assistant whose answers, retrieval quality, permissions and serving costs can be checked.
Beginner
From Text to Tokens to a Completion
Tokenize the same support question in English and Arabic and observe how context and decoding change the answer.
Upcoming lessonWrite a Testable Prompt
Define the task, evidence and output constraints for a support reply and compare it on a handful of fixed cases.
Upcoming lessonValidate Structured Outputs
Extract a support ticket into a typed schema and handle missing fields, refusals and invalid responses.
Upcoming lesson
Intermediate
Retrieve Evidence with Embeddings
Index a small help center, compare nearest neighbors and trace one bilingual retrieval miss.
Upcoming lessonBuild a Cited Retrieval-Augmented Answer
Pass relevant passages to the model, check each citation and teach the assistant to abstain when evidence runs out.
Upcoming lessonBuild an Evaluation Set for Support
Label answerable and unanswerable tickets in both languages and score retrieval separately from answer quality.
Upcoming lesson
Advanced
Tune Hybrid Retrieval and Reranking
Compare keyword, vector and reranked results for product IDs and mixed-language tickets at a fixed latency budget.
Upcoming lessonGive a Support Agent a Read-Only Tool
Define a typed order lookup, enforce customer scope in the service and test tool errors and timeouts.
Upcoming lessonDesign a Workflow That Knows When to Stop
Compare a fixed support workflow with a bounded agent loop on incomplete tickets, retries and escalation.
Upcoming lesson
Expert
Decide When to Fine-Tune with LoRA
Compare prompting, retrieval and a small adapter on a held-out bilingual task and account for training data quality.
Upcoming lessonMeet a Latency and Cost Budget
Measure time to first token, throughput and cost per resolved ticket, then test caching or model routing.
Upcoming lessonCapstone — Release a Bilingual Support Assistant
Decide whether to launch from citation checks, permission tests, bilingual quality slices and a practiced rollback.
Upcoming lesson