Skip to content

Commit

Permalink
"Add FeedKit package dependency and create RSSLoader class."
Browse files Browse the repository at this point in the history
  • Loading branch information
buhe committed Feb 10, 2024
1 parent 5cba2e1 commit abaf5b2
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 4 deletions.
9 changes: 9 additions & 0 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@
"version" : "1.20.1"
}
},
{
"identity" : "feedkit",
"kind" : "remoteSourceControl",
"location" : "https://github.com/nmdias/FeedKit",
"state" : {
"revision" : "68493a33d862c33c9a9f67ec729b3b7df1b20ade",
"version" : "9.1.2"
}
},
{
"identity" : "functions-swift",
"kind" : "remoteSourceControl",
Expand Down
6 changes: 2 additions & 4 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ let package = Package(
.package(url: "https://github.com/ZachNagengast/similarity-search-kit.git", from: "0.0.11"),
.package(url: "https://github.com/google/generative-ai-swift", .upToNextMajor(from: "0.4.4")),
.package(url: "https://github.com/buhe/SwiftyNotion", .upToNextMajor(from: "0.1.2")),
// .package(url: "https://github.com/chojnac/NotionSwift", .upToNextMajor(from: "0.8.0")),
// .package(url: "https://github.com/buhe/llmfarm_core.swift", .branch("langchain")),
.package(url: "https://github.com/nmdias/FeedKit", .upToNextMajor(from: "9.1.2")),
],
targets: [
// Targets are the basic building blocks of a package, defining a module or a test suite.
Expand All @@ -45,8 +44,7 @@ let package = Package(
.product(name: "SimilaritySearchKit", package: "similarity-search-kit", condition: .when(platforms: [.macOS, .iOS, .visionOS])),
.product(name: "GoogleGenerativeAI", package: "generative-ai-swift"),
.product(name: "SwiftyNotion", package: "SwiftyNotion"),
// .product(name: "NotionSwift", package: "NotionSwift"),
// .product(name: "llmfarm_core", package: "llmfarm_core.swift"),
.product(name: "FeedKit", package: "FeedKit"),
]

),
Expand Down
13 changes: 13 additions & 0 deletions Sources/LangChain/document_loaders/RSSLoader.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
//
// File.swift
//
//
// Created by 顾艳华 on 2/10/24.
//

import Foundation
import FeedKit

public class RSSLoader {

}

0 comments on commit abaf5b2

Please sign in to comment.