> For the complete documentation index, see [llms.txt](https://ai-community-iitb-organization.gitbook.io/10-days-realtime-llm-bootcamp/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ai-community-iitb-organization.gitbook.io/10-days-realtime-llm-bootcamp/hands-on-development/amazon-discounts-app.md).

# Amazon Discounts App

In this tutorial, we will build an app called "Amazon Discounts App" that can find real-time sales and deals for Amazon products by leveraging the LLM App library.&#x20;

In this case, instead of cloning this Discounts app repository, we'll try to observe and learn how it uses the [LLM App with the Prices API](https://github.com/Boburmirzo/chatgpt-api-python-sales) to give the desired results.

<figure><img src="https://2242835721-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6FUyhX0UiywvK1rz0m1N%2Fuploads%2FTJ0Di6p54ewndKUAICMK%2Fdiscounts-tracker-streamlit-1.png?alt=media&amp;token=6dbdc6d5-3256-46fb-89d0-38bb257aa907" alt=""><figcaption></figcaption></figure>

In this app, we have two data sources:

* [Rainforest API for Amazon Prices](https://www.rainforestapi.com)
* Discounts CSV with product and prices data

These two sources are used to show how you can upload a CSV along with another data source. While you can use a similar approach with other APIs, even this showcase opens up considerable possibilities in E-Commerce applications.&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://ai-community-iitb-organization.gitbook.io/10-days-realtime-llm-bootcamp/hands-on-development/amazon-discounts-app.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
