> 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/step-by-step-process.md).

# Step-by-Step Process

In this example, we'll dive a bit deeper to show you how this application was made so you can make one of your own.

### Link to the Project

* The repository being referred to can be found [here on GitHub](https://github.com/Boburmirzo/chatgpt-api-python-sales).&#x20;
* If you have a good experience with open source, visiting the above link should enable you to build a similar project seamlessly.&#x20;

### Step-by-Step Process to Build the Application

A good way to understand the code here would be to read the Streamlit (a Snowflake product) blog below which features the open-source application developed by Bobur.&#x20;

It's a friendly and easy-to-understand blog showing how the application interacts with users via an HTTP REST API. It works in real-time, offering support for various data types like JSON Lines and Rainforest Product API.

{% embed url="<https://blog.streamlit.io/build-a-real-time-llm-app-without-vector-databases-using-pathway/>" fullWidth="false" %}

### Video Tutorial

Once you've read the blog above, check out this video tutorial by Bobur Umurzakov (Developer Advocate at Pathway). He gives a quick walkthrough of the code and the open-source repository.

{% embed url="<https://youtu.be/IxdeW_Ndi_8>" %}

### Key things to note

* This app is modular; you can add new data sources or interfaces.
* You could scale it up to include more advanced features like additional data formats or APIs.
* Streamlit and Pathway's LLM App communicate over HTTP REST API, but they can also be integrated in other ways, such as file sharing or inter-process communication.

By following this guide, you'll create a versatile application capable of real-time interactions with users, providing them with valuable insights into Amazon discounts.


---

# 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/step-by-step-process.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.
