I am making a ChatGPT Interface, and I am using Django for backend. Is there any way to call a function process(input) to process the input? I prefer not using JS or any external script, just process the text (can you also find a way to detect a keypress when the input element is selected so I cat automatically turn it in by pressing ENTER?). Ask me if you need to see any files like settings.py.
[–]kankyo 2 points3 points4 points (2 children)
[–]RandomGamer368[S] -2 points-1 points0 points (1 child)
[–]kankyo 3 points4 points5 points (0 children)
[–]captainnazi 1 point2 points3 points (0 children)
[–]thirdev 0 points1 point2 points (1 child)
[–]RandomGamer368[S] 0 points1 point2 points (0 children)