-
Notifications
You must be signed in to change notification settings - Fork 211
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
After creating a view, the answer generated does not indicate that it originates from a view #880
Comments
@wwwy3y3 This looks interesting to me. Can I give it a shot? I am not sure whether I would be able to get it to work or not but I want to try this. Are you able to assign this issue for me so that I can start working on it? |
@AryanK1511 of course! thanks a lot. We implemented this feature before, but it seems not working as expected right now. As you could see from the UI logics here: WrenAI/wren-ui/src/components/pages/home/promptThread/AnswerResult.tsx Lines 129 to 157 in 8f61841
it should show We suspect that since we change the flow of asking questions, we might break sth here. If the answer comes from a view, the thread response here should have a view property: WrenAI/wren-ui/src/apollo/server/schema.ts Lines 601 to 606 in 8f61841
@cyyeh, Jimmy you could share more about how AI service API works here. Might help @AryanK1511 solving this issue. |
@AryanK1511 assigned to you. Let us know if you have any questions |
@AryanK1511 Hi, for AskResult type, you could get AskCandidateType inside, there are two types of value: view or llm. if it's view, you could also get viewId in the AskResult.
|
Cool! I'll look into this. Thank you so much for assigning this issue to me |
Describe the bug
In version 0.10.0, after creating a view, the answer generated does not indicate that it originates from a view.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The response should clearly indicate if it originates from a view to provide transparency about the data source.
Desktop (please complete the following information):
Wren AI Information
The text was updated successfully, but these errors were encountered: