The batch starts in code the team can read: Python, tables of text, and a small neural net.
Topics
Write functions, classes, and a small object that holds a document and its label. Later modules call this code, so the class keeps it short enough to change.
Load a text file into a table, count tokens and labels, and slice the rows the next lab will use. NumPy holds the numeric arrays. Pandas holds the table.
Name what a language task is asking for: classify, find a span, or generate a sentence. The class maps one GCC workflow onto one of those tasks before any model is chosen.
Normalize case, strip noise, and decide what must stay, such as a product code or a negation. The class compares a cleaned sentence with the original and keeps the version that still means the same thing.
Use NLTK for tokenization and a simple linguistic step on the same corpus. The class reads the tokens and says which split broke a word the business cares about.
Train a small Word2Vec model and inspect neighbors of one domain word. The point is to see a vector for a word before the later modules use embeddings from a large model.
Walk a tiny network: inputs, a hidden layer, a loss, and a prediction. The class names what is learned and what is only a setting.
Build that small network in TensorFlow, run a training step, and read the loss. The module stops at a model the class can retrain, not at a production training platform.
The class can say what a generative model is doing, and which shape of model fits the job.
Topics
A discriminative model picks a class. A generative model produces text or another artifact. The class sorts the GCC's tasks into those two and drops the ones that do not need generation.
A language model assigns a probability to the next piece of text. The class uses that idea to see why a fluent sentence can still be the wrong fact.
The transformer is the stack current large language models use: embeddings in, layers of attention, tokens out. The class draws one block and says what enters and what leaves.
Attention decides which earlier tokens matter for the next one. The class looks at a short sentence and marks the words a question should attend to.
An encoder reads a full passage. A decoder generates the next token. The class picks one for a classification job and one for a drafting job, and writes why.
Place hosted APIs, open weights, and local runtimes on one map. The class writes which data may leave the account and which must stay.
The same task is run on more than one model family, so the choice is a record, not a habit.
Topics
Call an OpenAI model on one GCC-style task. Record the prompt, the answer, the latency, and what text was sent.
Run a Hugging Face model on the same task. The class notes what is downloaded, where it runs, and how the answer differs.
Run the same task on a Mistral model. The comparison stays on this task: quality, speed, and whether the data path is acceptable.
Run the same task on a LLaMA model. The class writes when an open-weight model is the one they would keep for this job.
Generate a draft and a short summary from one source note. The class marks any sentence that was not in the source.
Classify a request and answer a question from a passage. A classification that invents a label, or an answer that is not in the passage, fails the lab.
Prompts are tested, not collected. A change has to move the result on a fixed set of cases.
Topics
Run the task with no example, then with a few examples. The class keeps the version that follows the format the workflow needs.
Ask the model to write the steps before the answer, on a task where the steps matter. The class checks the steps against the source, not only the final line.
Alternate a reason step and an action step so the model can call a tool and then use the tool's result. The class reads a trace where the action was wrong.
Give the model a role, such as a reviewer who must refuse when the source is missing. The class shows a case where the role stops a fluent guess.
Change one instruction at a time: the format, the constraint, or the example. Record what moved. A pile of adjectives is not an optimization.
Put the cases and the prompts in promptfoo and run them. The class keeps the report that shows which prompt failed which case.
Similar text can be found on purpose. The index is a choice the team can explain.
Topics
Turn a sentence into a vector and compare two sentences that should match and two that should not. The class says what the number does and does not mean.
Query the vectors with a question and read the nearest passages. A near neighbor that is on the wrong subject is a failed search, even if the score looks high.
Index the same chunks in FAISS and run the query locally. The class sees the index as files the team can rebuild.
Load the same chunks into Chroma and run the same query. The class compares what was stored and what came back.
Write the settings a Pinecone index would use for this corpus: what is stored, what is filtered, and what must not be uploaded. The class treats a hosted index as an account decision, not as a default.
Choose a chunk size, a metadata filter, and what gets reindexed when a document changes. The class writes that choice next to the query that depends on it.
The answer has to come from retrieved text. A pipeline is not done because a demo replied.
Topics
Draw the path: documents, chunks, index, retrieved passages, prompt, answer. The class names the step they would inspect when the answer is wrong.
Ingest a real-shaped document set and split it. The class fixes a chunk that cut a rule in half.
Embed the chunks with the model this batch will keep, and re-embed when that model changes. Mixed embeddings in one index are called out as a bug.
Try a plain similarity search and one filtered or multi-step retrieval on the same question. Keep the strategy that returns the passage a person would have opened.
Place the retrieved passage in the prompt and require the answer to use it. The class compares that answer with one that had no passage.
Turn the notebook path into a pipeline that can ingest, index, and answer again after a document changes. The class reruns it once and reads the log.
A framework is how the steps are wired. The class can point at the step that failed.
Topics
Build the retrieval path in LangChain far enough to see the prompt, the retriever, and the model call as separate pieces.
A chain is an ordered call. A tool is a system the model may use. Memory is what is kept between calls. The class adds only the piece this workflow needs.
Express the same retrieval path as a Haystack pipeline. The class reads a pipeline run and says which node produced the passages.
Load a model and a tokenizer with the Transformers library and run one generation. The class can say what was loaded and from where.
Order ingest, index, retrieve, generate, and check so a person can rerun one step. The class breaks one step and shows that the others did not hide the failure.
An agent is a loop that can act. The class decides where that loop must stop.
Topics
An agent takes a goal, chooses a step, uses a tool, and looks at the result. The class separates that from a single prompt that only drafts text.
Give the agent two tools and a goal that needs both. Read the plan it made and the call it actually sent.
Build one agent for one workflow. If a second agent does not change the result, the class keeps the single agent.
Split a job across two roles, such as a drafter and a checker. The class writes what each role may do and how the handoff is visible.
Build the same short flow with the Google Agent Development Kit. The class maps its steps onto the plan, the tool, and the stop.
Build a small crew for the same job. The class compares the trace with the single-agent run and keeps the simpler one unless the crew changed the outcome.
The batch writes the failures that matter on this system: injection, leakage, bias, and invented facts.
Topics
Feed the assistant a document that tries to override the instruction. The class shows whether the tool was called anyway, and adds the check that blocks it.
Name the fields that must not enter a prompt or a log: secrets, customer identifiers, and decisions about a person. The class removes one from a sample request and shows the call still works.
Run inputs and outputs through Llama Guard and read what it flags. A flag is a case the team reviews, not a badge that the system is safe.
Find an answer that treats similar cases differently, and an answer that states a fact absent from the source. Both go on the evaluation set.
Write who owns a wrong answer, what a person must approve, and which data stays out of the tool. The note is short enough for the team that will run the system.
The model has a place to run, and the team can see what it did.
Topics
Deploy a model endpoint on Azure OpenAI with access limited to the application identity. The class writes what data crosses that call.
Run a model in LM Studio on a machine in the lab and call it from the same client. The class records what stayed on the machine.
Call a hosted Hugging Face inference endpoint for the same prompt. The class compares the data path with the local run.
Add traces around the retrieve step and the model step. The class finds one slow call in the trace.
Send the prompt, the retrieved passages, and the answer to Langfuse. The class opens one trace and answers what the model saw.
The pieces become one application: a service, a way to call it, and a bill the team can read.
Topics
Draw the user, the API, the retriever, the model, and the log. Cut any box that this product does not need.
Expose one FastAPI endpoint that accepts a question and returns the answer plus the sources it used.
Add a small page that calls the API so a person can type a question and see the sources. The service is the piece the batch has to finish. The page is there so the product can be tried.
Count tokens, calls, and the hosting that stays on after class. The class names the one change that would cut the bill without dropping the source check.
Measure latency for retrieve and generate. The class changes one setting, such as how many passages are sent, and records the new time and the new answer quality.
The batch ends with a system the team can deploy again, and a project a buyer can look at.
Topics
Put the service where the team can reach it after the session, with the configuration written down. A laptop demo is the rehearsal. The deploy is the handoff.
Run the prompt tests and the deploy from a pipeline. The class breaks a test and shows that the deploy did not proceed.
Before the capstone is called done, rerun the injection case, the leakage check, and the list of fields that must not be logged.
Make one request and find it in the trace and the log. If the team cannot see the prompt, the retrieval, and the answer, the monitoring is not done.
Each person or team delivers the running service, the evaluation cases, the operating note, and the list of what a person must still approve.