Skip to content

Anytime Question Source Documents #228

@AdamFipke

Description

@AdamFipke

Description

Split from #137 (it had both the discussion and source documents)

So it turns out it's not super easy to show the source documents on the async questions. Since the async questions don't actually really have a connection to the chatbot questions, it's not simple to fix (right now, the frontend will call /ask to get an aianswer and then just send that with the rest of the question to the backend when creating a question).

The best fix for this is to actually connect the async questions with the chatbot questions.

A maybe simpler fix is to make a new table called something like AsyncQuestionSourceDocs, which is meant to hold the source documents for a particular AsyncQuestion answer.

Also, whatever option we choose, it will be hard to retroactively add source documents to old async questions (unless we do some kind of operation that matches each asyncquestion.aiAnswerText with chatbotquestion.responseText

Probably won't be that hard to do, just going to take a some amount of time.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions