aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/chatbot/tools/SortDocsTool.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/nodes/chatbot/tools/SortDocsTool.ts')
-rw-r--r--src/client/views/nodes/chatbot/tools/SortDocsTool.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/views/nodes/chatbot/tools/SortDocsTool.ts b/src/client/views/nodes/chatbot/tools/SortDocsTool.ts
index e91a27b36..741a8f3ce 100644
--- a/src/client/views/nodes/chatbot/tools/SortDocsTool.ts
+++ b/src/client/views/nodes/chatbot/tools/SortDocsTool.ts
@@ -46,6 +46,8 @@ export class SortDocsTool extends BaseTool<typeof parameterRules> {
const sortedIdsResponse = await gptAPICall(args.sortCriteria, GPTCallType.SORTDOCS, descriptions);
const sortedIds = sortedIdsResponse.trim().split('\n');
+ console.log(sortedIdsResponse);
+ console.log(sortedIds);
sortedIds.forEach((id, index) => {
this._docManager.editDocumentField(id, ChatSortField, index);