P3 - Latency Flashcards

1
Q

What is a chatbot?

A

A software application that simulates human conversation.
Commonly used in customer service, virtual assistants, and e-commerce.
Examples: Siri, Alexa, customer service bots on websites.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

The RAKT scenario

A

RAKT’s chatbot: Designed for insurance queries but underperforming.
Key Problem: Slow response times (high latency).
Customers report frustration and dissatisfaction.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is latency?

A

The delay between a user inputting a query and the chatbot responding.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Why does latency matter?

A

Slow responses = poor user experience.
Impacts customer satisfaction and trust.
Real-world analogy: Waiting on hold during a phone call.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What causes latency?

A

Complex Decision Algorithms
Large Datasets
High Query Volume

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How does Complex Decision Algorithms cause latency?

A

Chatbots use multiple models to understand and respond to queries.
The “critical path” involves dependencies between these models.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How does Large datasets cause latency?

A

Unoptimized data leads to slower processing times.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How does High Query Volume cause latency?

A

Increased user load strains system performance.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How do we reduce latency?

A

Streamline Dependencies
Optimize Datasets
Improved Algorithms

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How does Streamline Dependencies reduce latency?

A

Simplifies the critical path by removing unnecessary steps.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How does optimising datasets reduce latency?

A

Use classified, domain-specific, and cleaned data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How does Improved Algorithms reduce latency?

A

They use faster and more efficient machine learning techniques.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the ‘Critical Path’ in this context?

A

The decision algorithm that defines the shortest and most efficient sequence of linked machine learning models required to transform a user’s input into the bot’s final response.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

How do dependencies cause delays in software systems?

A

Components that rely on others to function properly. When one application or component is updated or improved, the entire system may need corresponding updates. Additionally, if an update for one component is incompatible with another, it can cause delays across the system.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What strategies can be used to streamline dependency processes?

A

Offloading
Lightweight Models
Caching

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How can offloading be used to streamline dependency processes?

A

Delegating processes (e.g., Siri offloads tasks to the cloud) allows multiple tasks to run concurrently.

17
Q

How can lightweight models be used to streamline dependency processes?

A

Using streamlined models offers shorter response times compared to larger, more complex counterparts.

18
Q

How can caching be used to streamline dependency processes?

A

Storing commonly used data reduces the frequency of API calls, speeding up the overall process.