From 6eb5da2cd266362ef094dc569e041098598b983c Mon Sep 17 00:00:00 2001 From: buhe Date: Mon, 11 Mar 2024 10:44:17 +0800 Subject: [PATCH] "Add SwiftyNotion 0.1.5 as a remote source control and include WatchListLoader.swift file." --- Package.resolved | 4 ++-- .../document_loaders/tmdb/WatchListLoader.swift | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 Sources/LangChain/document_loaders/tmdb/WatchListLoader.swift diff --git a/Package.resolved b/Package.resolved index 5efce18..72e6546 100644 --- a/Package.resolved +++ b/Package.resolved @@ -266,8 +266,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/buhe/SwiftyNotion", "state" : { - "branch" : "main", - "revision" : "ccfe5600df5e315e48470ca840f682ec446869f8" + "revision" : "ccfe5600df5e315e48470ca840f682ec446869f8", + "version" : "0.1.5" } }, { diff --git a/Sources/LangChain/document_loaders/tmdb/WatchListLoader.swift b/Sources/LangChain/document_loaders/tmdb/WatchListLoader.swift new file mode 100644 index 0000000..d88942d --- /dev/null +++ b/Sources/LangChain/document_loaders/tmdb/WatchListLoader.swift @@ -0,0 +1,15 @@ +// +// File.swift +// +// +// Created by 顾艳华 on 3/11/24. +// + +import Foundation +public class WatchListLoader: BaseLoader { + public override func _load() async throws -> [Document] { + var docs: [Document] = [] + + return docs + } +}