Categories:
Generative feedback functional description
Discover the feedback functionality that can be used for Generative AI and RAG capabilities
If you are interested in the detailed technical operational flow of this capability, that includes the sequence diagram of interactions between components, access here
Introduction
Within the use of the ATRIA AI-driven Generative AI or RAG capabilities, we have developed a feedback functionality.
This feedback functionality allows the estimation of the user’s satisfaction regarding the obtained response.
The user can provide feedback by clicking on a thumbs-up icon if the quality and appropriateness of the answer is correct or selecting the thumbs-down icon if the response misses the point, contains hallucinations, or is unclear.
Functional operation
The underlying process is summarized in the following lines and schematically shown in the figure below:
- An application sends a request to aura-gateway-api generative with a correlator.
- Firstly, it passes through Kernel (Telefónica Digital Ecosystem) for authentication and security purposes.
- aura-gateway-api processes the received request and sends the request to the auto-generative content generator atria-model-gateway to obtain an appropriate response.
- atria-model-gateway generates the most appropriate response and sends it back to aura-gateway-api.
- aura-gateway-api sends the response back to the service that initiated the request with the same correlator and a session identifier.
- An application sends a request to aura-gateway-api feedback with:
- A new header correlator
- The
sessionIdreceived in the path - The field
msg_corrid, in the body, that indicates the correlator of the message the feedback is about.
- aura-gateway-api processes the received request and communicates with atria-model-gateway to send this request.
- atria-model-gateway stores the feedback.
- aura-gateway-api communicates a
204to the application.