Parcourir la source

fix weird syntax error (#18454)

tags/1.3.0
Will il y a 6 mois
Parent
révision
cb69cb2d64
Aucun compte lié à l'adresse e-mail de l'auteur

+ 1
- 1
api/core/tools/utils/dataset_retriever/dataset_retriever_tool.py Voir le fichier

@@ -94,7 +94,7 @@ class DatasetRetrieverTool(DatasetRetrieverBaseTool):
"title": item.metadata.get("title"),
"content": item.page_content,
}
context_list.append(source)
context_list.append(source)
for hit_callback in self.hit_callbacks:
hit_callback.return_retriever_resource_info(context_list)


Chargement…
Annuler
Enregistrer