-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c0bdcb9
commit ef5ba26
Showing
1 changed file
with
29 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,29 @@ | ||
# LangGraph-Swift | ||
🚀 LangGraph for Swift. A library for building stateful, multi-actor applications with LLMs, built on top of LangChain-Swift | ||
# LangGraph for Swift | ||
🚀 LangGraph for Swift. A library for building stateful, multi-actor applications with LLMs, built on top of [LangChain-Swift]. | ||
> It is a porting of original [LangGraph] from [LangChain AI project][langchain.ai] in Swift fashion | ||
|
||
## Adding LangGraph for Swift as a Dependency | ||
|
||
To use the LangGraph for Swift library in a [SwiftPM] project, add the following line to the dependencies in your `Package.swift` file: | ||
|
||
```Swift | ||
.package(url: "https://github.com/bsorrentino/LangGraph-Swift.git", from: "1.0.0"), | ||
``` | ||
Include `LangGraph` as a dependency for your executable target: | ||
|
||
```Swift | ||
.target(name: "<target>", dependencies: [ | ||
.product(name: "AsyncAlgorithms", package: "swift-async-algorithms"), | ||
]), | ||
``` | ||
|
||
Finally, add `import LangGraph` to your source code. | ||
|
||
|
||
|
||
|
||
[SwiftPM]: https://www.swift.org/documentation/package-manager/ | ||
[langchain-swift]: https://github.com/buhe/langchain-swift.git | ||
[langchain.ai]: https://github.com/langchain-ai | ||
[langgraph]: https://github.com/langchain-ai/langgraph |