Skip to content

Commit

Permalink
"Add DNChain.swift to LangChain/chains directory with a default imple…
Browse files Browse the repository at this point in the history
…mentation of call(args: String) async throws -> String."
  • Loading branch information
buhe committed Aug 9, 2023
1 parent 3ec601f commit aaa282c
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Sources/LangChain/chains/DNChain.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
//
// File.swift
//
//
// Created by 顾艳华 on 2023/8/9.
//

import Foundation
public class DNChain: DefaultChain {
public init() {

}
public override func call(args: String) async throws -> String {
print("Do nothing.")
return ""
}

}

0 comments on commit aaa282c

Please sign in to comment.