You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I upload files while chatting, and when I ask questions about what's in the files, the answers aren't accurate.
My idea of this phenomenon is that if I upload files, then the scope of my conversation should be limited to the current file, rather than the entire knowledge base.
What do you think of this?
The text was updated successfully, but these errors were encountered:
Maybe there could be a config option to assign a weight to more recent files, or weight the chat files heavier than the knowledge base? So between 2 files with the same similarity score, one from the knowledge base, and one from the chat history, it would prefer the chat file.
A ui element to toggle retrieval from the knowledgebase could be a nice and elegant solution as well.
The current performance of the main branch code is:
Create A knowledge base and upload a file.
Create dialog and conversation to ask questions about the content in A. 【 Can get the correct answer 】
Upload a file B in conversation and ask questions in B. 【 Get the right answer 】
Upload a file C in conversation and ask questions in C. 【 Get the right answer 】
Direct questions to B without attachments. 【Can get correct reply】
Direct questions to C without attachments. 【Can get correct reply】
In this case, ask questions in file A in the knowledge base without attachments. 【 Did not get a correct reply 】
Once the file is uploaded, the original knowledge in the knowledge base is lost.
I think the better phenomenon is this:
When I include attachments in this conversation, the answer should be based only on this attachments.
When I do not include attachments in this conversation, the answer should be based on the contents of the knowledge base and the contents of the attachments previously uploaded.
To implement the phenomenon I mentioned, you simply need to remove the following code:
Describe your problem
I upload files while chatting, and when I ask questions about what's in the files, the answers aren't accurate.
My idea of this phenomenon is that if I upload files, then the scope of my conversation should be limited to the current file, rather than the entire knowledge base.
What do you think of this?
![Image](https://private-user-images.githubusercontent.com/38914005/412764096-56ed9885-1b83-4288-992f-20e3359cab56.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MzQwMjQsIm5iZiI6MTczOTYzMzcyNCwicGF0aCI6Ii8zODkxNDAwNS80MTI3NjQwOTYtNTZlZDk4ODUtMWI4My00Mjg4LTk5MmYtMjBlMzM1OWNhYjU2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDE1MzUyNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWUwMWQxMzM4ZjIzNzkzM2JjYWVjNDEwMjllODNkM2NlYTA2MTgyMTA5MGVkZGU1YzcxNTAwOTgwYzYwMmJmYzQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.eVa-0RrZuRHQpAxIdzbslGhGsqiJQS3WVDLYUQ2rXcc)
The text was updated successfully, but these errors were encountered: