Skip to content
Snippets Groups Projects
Commit 49dff061 authored by Quentin Ulmer's avatar Quentin Ulmer :construction_worker_tone2:
Browse files

- response parameter changed

parent 788f2a93
No related branches found
No related tags found
2 merge requests!7Sprint2,!5Barebones nebular Chat
......@@ -78,7 +78,7 @@ export class ChatComponent {
private requestBotResponse() {
this.chatService.requestLlamaAnswer(this.newMessage).subscribe(response => {
const botMessage = {
text: response.answer, // Adjust based on your backend response structure
text: response.message,
sender: 'bot',
date: new Date(),
user: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment