This example app imports the Connect
library using Swift Package Manager,
and provides an interface for
chatting with Eliza.
The app has support for chatting using a variety of protocols supported by the Connect library:
- Connect + unary
- Connect + streaming
- gRPC + unary (using
ConnectGRPC
+SwiftNIO
) - gRPC + streaming (using
ConnectGRPC
+SwiftNIO
) - gRPC-Web + unary
- gRPC-Web + streaming
Simply open the .xcodeproj
in this directory and build the app target
using Xcode.
Note that the project uses a local reference to the Connect package, rather than the GitHub URL.