Parametrize max_length in Milvus for text field #27943
gkourogiorgas
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Checked
Feature request
can we parametrize the max_length value for text field in Milvus?
See here:
https://github.com/langchain-ai/langchain/blob/395674d5037756bef25d7fa8da93525874bb5cb8/libs/community/langchain_community/vectorstores/milvus.py#L354C72-L354C78
Motivation
I understand the limit has to do with the DB performance etc, but texts can be longer than that and chunking is not necessarily an option
Proposal (If applicable)
Set an argument in init (and in .from_documents() ideally) to set the max length for the text field. I. believe it will be rare to have some metadata field longer than 65,535 chars.
Beta Was this translation helpful? Give feedback.
All reactions