Skip to content

VSN-2426 : Implementation of Chatbot Communication Flow with Document UUID Integration, DTO Definitions, Endpoints, Message Handling, and Pagination Enhancements

yassine.elazami a demandé de fusionner VSN-2426 vers develop

Merge Request Description

Dynamising ChatBot Component by Document UUID

This commit introduces dynamic behavior in the chatbot component by leveraging the document UUID. It ensures that chatbot instances are uniquely tied to active documents, improving contextual communication.

Setting UUID Change Mechanism

This commit establishes a mechanism to update the document UUID for the active chatbot. It guarantees that document references remain consistent when UUIDs are modified.

Defining Chatbot Message DTO

This commit defines a Data Transfer Object (DTO) for chatbot messages. It standardizes the structure of messages exchanged between the chatbot and backend services, ensuring reliable serialization and deserialization.

Adding Endpoint

This commit adds a new API endpoint dedicated to sending messages. It includes the definition of the API call signature and its implementation, enabling structured communication between client and server.

Implementing a First Version of HandleSend

This commit introduces the initial implementation of the handleSend functionality. It provides the basic logic for processing and dispatching messages within the chatbot workflow.

Implementing Double-Side Pagination

This commit implements a double-side pagination mechanism. It enhances navigation through large datasets by allowing bidirectional traversal, improving user experience in message history browsing.

Defining AI Communication DTOs

This commit defines DTOs for AI-driven communication. These structures formalize how AI-related data is exchanged, ensuring compatibility and clarity in chatbot-AI interactions.

Defining Chatbot Endpoints and Store

This commit sets up dedicated endpoints for chatbot operations and integrates them with a state management store. It ensures that chatbot data flows are centralized and maintainable.

Finalizing Communication Feature

This commit finalizes the chatbot communication feature. It consolidates previous implementations, ensuring that message exchange between chatbot and backend is stable and production-ready.

Finalizing Document Process at Upload

This commit completes the document upload process by integrating it with chatbot communication. It ensures that uploaded documents are properly registered and linked to chatbot sessions for contextual interactions.

Closes VSN-2426

Rapports de requête de fusion