Skip to content

Commit 30b49f0

Browse files
committed
removing answers from summaries for video qa
1 parent 6b7e82e commit 30b49f0

File tree

1 file changed

+0
-62
lines changed

1 file changed

+0
-62
lines changed

docs/howtos/solutions/vector/video-qa/index-video-qa.mdx

Lines changed: 0 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -73,46 +73,15 @@ application by replacing multiple traditional technologies with one solution.
7373
Example Questions and Answers:
7474
7575
Q1: What is Redis Stack and what role does it play in the application?
76-
A1: Redis Stack is an extension to Redis that adds additional modules, turning it
77-
into a multi-model database. In the application, it is used for storing various
78-
types of data and managing real-time communication between microservices.
79-
8076
Q2: How is the stock watch list stored and managed within the application?
81-
A2: The watch list is stored as a Redis set which helps automatically prevent
82-
duplicate stock symbols. In addition, further information about each stock is
83-
stored in JSON documents within Redis Stack.
84-
8577
Q3: What type of data does the application store using time series capabilities of
8678
Redis Stack?
87-
A3: The application uses time series data to store and retrieve the price movements
88-
of the stocks, making it easy to query over a date range and to visualize chart
89-
data with time on the x-axis.
90-
9179
Q4: Can you explain the use of the Top-K filter in the application?
92-
A4: The Top-K filter is a feature of Redis Bloom that is used to maintain a
93-
leaderboard of the most frequently traded stocks on the watch list, updating every
94-
minute with the number of trades that happen.
95-
9680
Q5: What methods are used to update the front end with real-time information in
9781
the application?
98-
A5: WebSockets are used to receive real-time updates for trending stocks, trades,
99-
and stock bars from the API service, which, in turn, receives the information from
100-
Redis Pub/Sub messages generated by the streaming service.
101-
10282
Q6: How does the application sync the watch list with the streaming service?
103-
A6: The application listens to the watch list key space in Redis for updates. When
104-
a stock is added or removed from the watch list on the front end, the API
105-
communicates this to Redis, and the streaming service then subscribes or
106-
unsubscribes to updates from the Alpaca API for that stock.
107-
10883
Q7: What frontend technologies are mentioned for building the UI of the application?
109-
A7: The UI service for the front end is built using Tailwind CSS, Chart.js, and
110-
Next.js, which is a typical tech stack for creating a modern web application.
111-
11284
Q8: How does Redis Insight help in managing the application data?
113-
A8: Redis Insight provides a visual interface to see and manage the data structures
114-
used in Redis Stack, including JSON documents, sets, and time series data related
115-
to the stock information in the application.
11685
```
11786

11887
3. **Data storage with Redis**: All generated data, including video summaries, potential questions, and vector embeddings, are stored in Redis. The app utilizes Redis's diverse data types for efficient data handling, caching, and quick retrieval.
@@ -462,46 +431,15 @@ application by replacing multiple traditional technologies with one solution.
462431
Example Questions and Answers:
463432
464433
Q1: What is Redis Stack and what role does it play in the application?
465-
A1: Redis Stack is an extension to Redis that adds additional modules, turning it
466-
into a multi-model database. In the application, it is used for storing various
467-
types of data and managing real-time communication between microservices.
468-
469434
Q2: How is the stock watch list stored and managed within the application?
470-
A2: The watch list is stored as a Redis set which helps automatically prevent
471-
duplicate stock symbols. In addition, further information about each stock is
472-
stored in JSON documents within Redis Stack.
473-
474435
Q3: What type of data does the application store using time series capabilities of
475436
Redis Stack?
476-
A3: The application uses time series data to store and retrieve the price movements
477-
of the stocks, making it easy to query over a date range and to visualize chart
478-
data with time on the x-axis.
479-
480437
Q4: Can you explain the use of the Top-K filter in the application?
481-
A4: The Top-K filter is a feature of Redis Bloom that is used to maintain a
482-
leaderboard of the most frequently traded stocks on the watch list, updating every
483-
minute with the number of trades that happen.
484-
485438
Q5: What methods are used to update the front end with real-time information in
486439
the application?
487-
A5: WebSockets are used to receive real-time updates for trending stocks, trades,
488-
and stock bars from the API service, which, in turn, receives the information from
489-
Redis Pub/Sub messages generated by the streaming service.
490-
491440
Q6: How does the application sync the watch list with the streaming service?
492-
A6: The application listens to the watch list key space in Redis for updates. When
493-
a stock is added or removed from the watch list on the front end, the API
494-
communicates this to Redis, and the streaming service then subscribes or
495-
unsubscribes to updates from the Alpaca API for that stock.
496-
497441
Q7: What frontend technologies are mentioned for building the UI of the application?
498-
A7: The UI service for the front end is built using Tailwind CSS, Chart.js, and
499-
Next.js, which is a typical tech stack for creating a modern web application.
500-
501442
Q8: How does Redis Insight help in managing the application data?
502-
A8: Redis Insight provides a visual interface to see and manage the data structures
503-
used in Redis Stack, including JSON documents, sets, and time series data related
504-
to the stock information in the application.
505443
```
506444

507445
The `vector embedding chain` is used to generate vector embeddings for the video summaries. This is done by asking the LLM to generate text embeddings for the summary. The `vector embedding chain` is defined as follows:

0 commit comments

Comments
 (0)