# Week 5 - Advanced Retrieval Augmented Generation

### Sessions schedule

* Quiz
* Short Recap
* Impulses on Sparse Priming Representations (SPRs) and HyDE (Hypothetical Document Embeddings)
* Project Prototype Presentations
* Homework for next week

### Resources

{% file src="/files/yrrRITz2pjqjgRz181R0" %}

### Homework for next week

* Watch the course “[Building Generative AI Applications with Gradio](https://learn.deeplearning.ai/huggingface-gradio)”
* Install Gradio and explore the examples from the Gradio playground locally (<https://www.gradio.app/playground>)
* Think about the elements your application user interface should contain, create a sketch or wireframe of your app and implement it with Gradio
* (If possible connect your prototype to the user interface)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://opencampus.gitbook.io/opencampus-machine-learning-program/courses/archive/practical-engineering-with-llms/week-5-advanced-retrieval-augmented-generation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
