Sources in responses

This commit is contained in:
Alex
2023-06-11 22:56:34 +01:00
parent 577d58c92b
commit 610adcbefc
6 changed files with 147 additions and 78 deletions

View File

@@ -60,6 +60,7 @@ export default function Conversation() {
key={`${index}ANSWER`}
message={query.response}
type={'ANSWER'}
sources={query.sources}
feedback={query.feedback}
handleFeedback={(feedback: FEEDBACK) =>
handleFeedback(query, feedback, index)
@@ -83,6 +84,7 @@ export default function Conversation() {
key={`${index}QUESTION`}
message={query.prompt}
type="QUESTION"
sources={query.sources}
></ConversationBubble>
{prepResponseView(query, index)}
</Fragment>