Skip to content

[Question]: Is there a way to prioritize source material over knowledge graph reports in chat citations? #6587

@homewmt

Description

@homewmt

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (Language Policy).
  • Non-english title submitions will be closed directly ( 非英文标题的提交将会被直接关闭 ) (Language Policy).
  • Please do not modify this template :) and fill in all the required fields.

Describe your problem

I've gotten the knowledge graph working exceptionally well (with the configuration below), but one issue I'm seeing is that a lot of the in-line citations returned by the chat agent are from the knowledge graph/community reports summaries.

Ideally only source material in the knowledge base should be cited. I would just like to use the knowledge graph and community reports to add context to the answer, I don't want the user to be able to directly see it. Is there a way to adjust the weights for source material vs. summary material?

Ragflow 0.17.2
Configuration (anything not mentioned is default):

Knowledge base

  • Chat model: casperhansen/deepseek-r1-distill-qwen-14b-awq
  • Embedding model: BAAI/bge-large-en-v1.5
  • Extract knowledge graph: Yes
  • Entity resolution: Yes
  • Community reports generation: Yes

Chat configuration

  • Chat model: Qwen/QwQ-32B-AWQ
  • Rerank model: BAAI/bge-reranker-v2-m3
  • Use knowledge graph: Yes
  • Temperature: 0.6
  • Top P: 0.95
  • Presence penalty: Disabled
  • Frequency penalty: Disabled

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions