Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anytime Question Source Documents #228

Open
AdamFipke opened this issue Jan 30, 2025 · 0 comments
Open

Anytime Question Source Documents #228

AdamFipke opened this issue Jan 30, 2025 · 0 comments

Comments

@AdamFipke
Copy link
Collaborator

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.

@AdamFipke AdamFipke pinned this issue Feb 18, 2025
@AdamFipke AdamFipke unpinned this issue Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant