配置多个上下文,不调用 EnhanceLlamaIndexTool 的 run 方法 #186

Closed
opened 2026-02-21 17:26:17 -05:00 by yindo · 5 comments
Owner

Originally created by @hzy970907 on GitHub (Jun 19, 2023).

Dify version: Cloud | Self Host

Steps To Reproduce

1.配置多个上下文

image

The current behavior

不调用 EnhanceLlamaIndexTool 的 run 方法,route.destination 的值一直是 None。

image

The expected behavior

调用 EnhanceLlamaIndexTool 的 run 方法。

Originally created by @hzy970907 on GitHub (Jun 19, 2023). <!-- Please provide a clear and concise description of what the bug is. Include screenshots if needed. Please test using the latest version of the relevant Dify packages to make sure your issue has not already been fixed. --> Dify version: Cloud | Self Host ## Steps To Reproduce <!-- Your bug will get fixed much faster if we can run your code and it doesn't have dependencies other than Dify. Issues without reproduction steps or code examples may be immediately closed as not actionable. --> 1.配置多个上下文 ![image](https://github.com/langgenius/dify/assets/26761454/7a130978-5e2d-42f7-895c-06a57091c0df) ## The current behavior 不调用 EnhanceLlamaIndexTool 的 run 方法,route.destination 的值一直是 None。 ![image](https://github.com/langgenius/dify/assets/26761454/f41a4c85-738e-41d5-8d80-8f59b99ccbf8) ## The expected behavior 调用 EnhanceLlamaIndexTool 的 run 方法。
yindo closed this issue 2026-02-21 17:26:17 -05:00
Author
Owner

@takatost commented on GitHub (Jun 19, 2023):

This requires your dataset description to be able to summarize the content of the dataset so that RouteChain can determine if your query is related to the dataset.

@takatost commented on GitHub (Jun 19, 2023): This requires your dataset description to be able to summarize the content of the dataset so that RouteChain can determine if your query is related to the dataset.
Author
Owner

@hzy970907 commented on GitHub (Jun 20, 2023):

image


dataset description 我用的自动生成的,没有动过,dify 目前不支持配置多个上下文? 只要我配置多个上下文,EnhanceLlamaIndexTool 的 run 方法就不执行。Datasets&Index 功能就失效。
@hzy970907 commented on GitHub (Jun 20, 2023): ![image](https://github.com/langgenius/dify/assets/26761454/b4cb00f9-1112-46d9-8088-19667f6c4cfa) <br/> dataset description 我用的自动生成的,没有动过,dify 目前不支持配置多个上下文? 只要我配置多个上下文,EnhanceLlamaIndexTool 的 run 方法就不执行。Datasets&Index 功能就失效。
Author
Owner

@takatost commented on GitHub (Jun 20, 2023):

you need to manually modify the description of your dataset, the auto-generated one is just a file name

@takatost commented on GitHub (Jun 20, 2023): you need to manually modify the description of your dataset, the auto-generated one is just a file name
Author
Owner

@hzy970907 commented on GitHub (Jun 20, 2023):

配置多个上下文,EnhanceLlamaIndexTool 的 run 方法不执行,与 dataset description 有关?

@hzy970907 commented on GitHub (Jun 20, 2023): 配置多个上下文,EnhanceLlamaIndexTool 的 run 方法不执行,与 dataset description 有关?
Author
Owner

@takatost commented on GitHub (Jun 22, 2023):

Yep, we'll choose which dataset to use based on the user's question and the dataset description.

@takatost commented on GitHub (Jun 22, 2023): Yep, we'll choose which dataset to use based on the user's question and the dataset description.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#186