mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
Add tavily as web searh tool. (#5349)
### What problem does this PR solve? #5198 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -64,6 +64,7 @@ def structure_answer(conv, ans, message_id, session_id):
|
||||
"dataset_id": get_value(chunk, "kb_id", "dataset_id"),
|
||||
"image_id": get_value(chunk, "image_id", "img_id"),
|
||||
"positions": get_value(chunk, "positions", "position_int"),
|
||||
"url": chunk.get("url")
|
||||
} for chunk in reference.get("chunks", [])]
|
||||
|
||||
reference["chunks"] = chunk_list
|
||||
|
||||
Reference in New Issue
Block a user