Skip to content

Commit

Permalink
update 05-generative-AI.md
Browse files Browse the repository at this point in the history
  • Loading branch information
KrispauI committed Sep 28, 2024
1 parent 767250b commit ac55e04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/application-scenario/05-generative-AI.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
  In addition, `EventMesh's` Event Source and Event Sink can support various types of event sources and event targets, adapting to different kinds of data sources. Whether it's internal enterprise data or external public data, they can be synchronized to the LLM's vector database through the event-driven system, enabling data diversification for the LLM.

<div align="center">
<img src="images/s5_img1.png" width="100%">
<img src="../../static/images/application-scenario/s5_img1.png" width="100%">
</div>

&emsp;&emsp;The event-driven architecture also enhances the resilience and scalability of generative AI applications. The Retrieval Augmented Generation (RAG) + Prompt Engineering method requires to establish a data pipeline consisting of multiple microservices to process domain-specific data. The main components of the data pipeline include Tokenization, Data Chunking, Data Vectorization, Word Embedding, and Prompt Builder. The interaction between these microservices can be done asynchronously through an event-driven approach. As the data volume increases, each microservice can independently scale without affecting the overall data pipeline architecture. If AI scientists want to add new microservices, such as a User Feedback App to process user feedback data, it can interact with other microservices in the data pipeline by consuming and publishing specific topics without needing to modify the interfaces of other microservices. `EventMesh's` Serverless Workflow event stream features can be used to build such data pipelines.

<div align="center">
<img src="images/s5_img2.png" width="80%">
<img src="../../static/images/application-scenario/s5_img2.png" width="80%">
</div>

&emsp;&emsp;The `EventMesh` community, along with other Apache open-source communities, will continue to explore new application scenarios in the field of generative AI. The Workflow and Event Source/Sink features of the EventMesh architecture can help build generative AI applications, improving the real-time capability and accuracy of AI applications while enhancing their scalability. This enables the creation of real-time, cloud-native generative AI applications.
Expand Down

0 comments on commit ac55e04

Please sign in to comment.