[GH-ISSUE #1673] [FEAT]: Before LanceDB Output to LLM Text encoding Big5 #1090

Closed
opened 2026-02-22 18:23:05 -05:00 by yindo · 1 comment
Owner

Originally created by @csb47jk on GitHub (Jun 13, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/1673

Description

Use Traditional Chinese files to upload to the built-in LanceDB~
As a result, the attached file found a possible answer ~ but the answer did not provide the answer.

  1. Confirmed data in LanceDB
    For example: \storage\lancedb\security_2.lance\data
    Chinese-related file content, data in LanceDB
    It may be more correct to convert it to Big5 and then give it to LLM.

Regarding text encoding issues, is it possible to provide solutions or encoding options before retrieving the results to derive the LLM model?

Originally created by @csb47jk on GitHub (Jun 13, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/1673 ### Description Use Traditional Chinese files to upload to the built-in LanceDB~ As a result, the attached file found a possible answer ~ but the answer did not provide the answer. 1. Confirmed data in LanceDB For example: \storage\lancedb\security_2.lance\data Chinese-related file content, data in LanceDB It may be more correct to convert it to Big5 and then give it to LLM. Regarding text encoding issues, is it possible to provide solutions or encoding options before retrieving the results to derive the LLM model?
yindo added the enhancement label 2026-02-22 18:23:05 -05:00
yindo closed this issue 2026-02-22 18:23:05 -05:00
Author
Owner

@timothycarambat commented on GitHub (Jun 13, 2024):

Interesting, what were the scores on the citations? If the content for the documents and prompt are both using the same encoding + embedder then I wonder what the difference would be in retrieval.

Has pre-processing the data to Big5 encoding been proven to improve results on non-latin based charsets?

Also what embedder are you using? The default is the all-MiniLM-L6-v2 which IMO has done quite poorly for non-latin based texts

@timothycarambat commented on GitHub (Jun 13, 2024): Interesting, what were the scores on the citations? If the content for the documents and prompt are both using the same encoding + embedder then I wonder what the difference would be in retrieval. Has pre-processing the data to Big5 encoding been proven to improve results on non-latin based charsets? Also what embedder are you using? The default is the [all-MiniLM-L6-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2) which IMO has done quite poorly for non-latin based texts
yindo changed title from [FEAT]: Before LanceDB Output to LLM Text encoding Big5 to [GH-ISSUE #1673] [FEAT]: Before LanceDB Output to LLM Text encoding Big5 2026-06-05 14:38:56 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#1090