Project

General

Profile

SendRequest() method » History » Revision 2

Revision 1 (Tomislav Pleše, 09/20/2025 11:57 AM) → Revision 2/19 (Tomislav Pleše, 09/20/2025 12:06 PM)

# SendRequest() method 

 Cases: 

 1. Root Point - First Prompt 
     * FE - Create new Point 
     * FE - Show new Point - only Prompt - on Screen 
     * FE - Send new Point to BE 
     * BE - Save new Point to DB 
     * BE - Send Prompt to OpenAI 
     * BE - Receive the Response from OpenAI 
     * BE - Save Response to DB (with the new Point) 
     * BE- Send the new Point (with updated Response) to FE 
     * FE - Show updated new Point on Screen - both Prompt and Response 

 2. Existing Point - Second prompt 
 3. New shard - prompt 
 4. Existing Shard - prompt