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

feat(ChatKnowledge):add similarity score and query rewrite #880

Merged
merged 31 commits into from
Dec 4, 2023

Conversation

Aries-ckt
Copy link
Collaborator

@Aries-ckt Aries-ckt commented Dec 1, 2023

  1. ChatKnowledge

    • add vector recall score threshold(both chroma and milvus)
    • add query rewrite module
      set in .env file
         KNOWLEDGE_SEARCH_REWRITE=True
    
    • add topk details in ChatKnowledge scene
  2. Metadata

    • migrate table chat_history and connect_config from duckdb to sqlite and mysql.

execute python script:
duckdb to sqlite

python docker/examples/metadata/duckdb2sqlite.py

duckdb to mysql

1. update your mysql username and password in docker/examples/metadata/duckdb2mysql.py
2.  python docker/examples/metadata/duckdb2mysql.py
  1. Add FAQ Documents

Close #849, Close #850, Close #851, Close #852

@github-actions github-actions bot added ChatKnowledge Module: ChatKnowledge enhancement New feature or request labels Dec 1, 2023
Copy link
Collaborator

@csunny csunny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@csunny csunny merged commit 54d5b0b into main Dec 4, 2023
3 checks passed
Hopshine pushed a commit to Hopshine/DB-GPT that referenced this pull request Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ChatKnowledge Module: ChatKnowledge enhancement New feature or request
Projects
None yet
2 participants