Created
October 13, 2023 09:18
-
-
Save GuillaumeDaviid/77413b717aa5e396a9831632420bf22b to your computer and use it in GitHub Desktop.
angular handliclick
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
handleClick() { | |
this.openAiService.getDataFromOpenAI(this.newMsg).subscribe(data => { | |
this.botResponse = data; | |
}); | |
this.newMsg = ''; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment