janhq / jan

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer. Multiple engine support (llama.cpp, TensorRT-LLM)
https://jan.ai/
GNU Affero General Public License v3.0
22.37k stars 1.29k forks source link

bug: `Llama 3 8B Instruct Q4` cannot recognize that I have uploaded a file #3719

Open imtuyethan opened 5 days ago

imtuyethan commented 5 days ago

https://discord.com/channels/1107178041848909847/1286258581750157354

Jan version

v0.5.4

Describe the Bug

When enabling retrieval and adding a document, the Nitro model keeps insisting that there is no document to get the information from. This occurs even when a document has been successfully uploaded.

Steps to Reproduce

  1. Use model: Llama 3 8B Instruct Q4 (Nitro) in Jan v0.5.4 on Windows
  2. Enable retrieval feature
  3. Add a document
  4. Try to use the model to retrieve information from the added document
  5. Observe that the model claims there is no document to get information from

Screenshots / Logs

Screenshot_2024-09-19_113144 app.log

What is your OS?

imtuyethan commented 5 days ago

Reproducible on my end (using MacOS), our RAG feature was not implemented correctly.

Screenshot 2024-09-23 at 4 07 00 PM