Skip to content
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

When using the vector database Milvus, it is not possible to use Chinese names for the knowledge base. #1247

Closed
4 of 15 tasks
jsRuner opened this issue Mar 4, 2024 · 4 comments
Labels
bug Something isn't working stale Waiting for reply

Comments

@jsRuner
Copy link
Contributor

jsRuner commented Mar 4, 2024

Search before asking

  • I had searched in the issues and found no similar issues.

Operating system information

MacOS(M1, M2...)

Python version information

=3.11

DB-GPT version

main

Related scenes

  • Chat Data
  • Chat Excel
  • Chat DB
  • Chat Knowledge
  • Model Management
  • Dashboard
  • Plugins

Installation Information

Device information

CPU
macOS M2 Pro
RAM 16G

Models information

LLM_MODEL=spark_proxyllm

What happened

When creating a knowledge base, users often assume that they can input Chinese names by default. However, the Chinese name will be used as the space_name in the vector database, and Milvus does not support Chinese characters. Therefore, it is necessary to add an additional field that serves as the actual name for backend usage, instead of relying on the value entered by the user on the web page.

#1212 This commit failed to address the underlying issue.

What you expected to happen

can use chinese

How to reproduce

  • update .env
    VECTOR_STORE_TYPE=Milvus MILVUS_URL=127.0.0.1 MILVUS_PORT=19530

  • create knowledge

  • use chinese name

  • log will show error

Additional context

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!
@jsRuner jsRuner added bug Something isn't working Waiting for reply labels Mar 4, 2024
@Aries-ckt
Copy link
Collaborator

hi, @jsRuner , what's your space name, now it support only Chinese Character, but not support half Chinese Character and half English Character. it will be fix soon.

@jsRuner
Copy link
Contributor Author

jsRuner commented Mar 5, 2024

@Aries-ckt Indeed. Previously, I entered '中国11' which couldn't establish a connection. Now, I entered '中国' and it works fine.

Copy link

github-actions bot commented Apr 4, 2024

This issue has been marked as stale, because it has been over 30 days without any activity.

@github-actions github-actions bot added the stale label Apr 4, 2024
Copy link

This issue bas been closed, because it has been marked as stale and there has been no activity for over 7 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale Waiting for reply
Projects
None yet
Development

No branches or pull requests

2 participants