From c0bdcb96b32621a724b88efb47020766d649b855 Mon Sep 17 00:00:00 2001 From: bsorrentino Date: Thu, 14 Mar 2024 19:42:32 +0100 Subject: [PATCH] feat: setup langchain demo app project --- .../LangChainDemo.xcodeproj/project.pbxproj | 393 ++++++++++++++++++ .../contents.xcworkspacedata | 7 + .../xcshareddata/IDEWorkspaceChecks.plist | 8 + .../xcshareddata/swiftpm/Package.resolved | 303 ++++++++++++++ .../AccentColor.colorset/Contents.json | 11 + .../AppIcon.appiconset/Contents.json | 13 + .../Assets.xcassets/Contents.json | 6 + LangChainDemo/LangChainDemo/ContentView.swift | 24 ++ .../LangChainDemo/LangChainDemoApp.swift | 17 + .../Preview Assets.xcassets/Contents.json | 6 + 10 files changed, 788 insertions(+) create mode 100644 LangChainDemo/LangChainDemo.xcodeproj/project.pbxproj create mode 100644 LangChainDemo/LangChainDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 LangChainDemo/LangChainDemo.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist create mode 100644 LangChainDemo/LangChainDemo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved create mode 100644 LangChainDemo/LangChainDemo/Assets.xcassets/AccentColor.colorset/Contents.json create mode 100644 LangChainDemo/LangChainDemo/Assets.xcassets/AppIcon.appiconset/Contents.json create mode 100644 LangChainDemo/LangChainDemo/Assets.xcassets/Contents.json create mode 100644 LangChainDemo/LangChainDemo/ContentView.swift create mode 100644 LangChainDemo/LangChainDemo/LangChainDemoApp.swift create mode 100644 LangChainDemo/LangChainDemo/Preview Content/Preview Assets.xcassets/Contents.json diff --git a/LangChainDemo/LangChainDemo.xcodeproj/project.pbxproj b/LangChainDemo/LangChainDemo.xcodeproj/project.pbxproj new file mode 100644 index 0000000..8267502 --- /dev/null +++ b/LangChainDemo/LangChainDemo.xcodeproj/project.pbxproj @@ -0,0 +1,393 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 56; + objects = { + +/* Begin PBXBuildFile section */ + A08CC7552BA373E9007A8248 /* LangChainDemoApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = A08CC7542BA373E9007A8248 /* LangChainDemoApp.swift */; }; + A08CC7572BA373E9007A8248 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A08CC7562BA373E9007A8248 /* ContentView.swift */; }; + A08CC7592BA373EA007A8248 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = A08CC7582BA373EA007A8248 /* Assets.xcassets */; }; + A08CC75C2BA373EA007A8248 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = A08CC75B2BA373EA007A8248 /* Preview Assets.xcassets */; }; + A08CC7652BA37494007A8248 /* LangGraph in Frameworks */ = {isa = PBXBuildFile; productRef = A08CC7642BA37494007A8248 /* LangGraph */; }; + A08CC7682BA3772E007A8248 /* LangChain in Frameworks */ = {isa = PBXBuildFile; productRef = A08CC7672BA3772E007A8248 /* LangChain */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + A08CC7512BA373E9007A8248 /* LangChainDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = LangChainDemo.app; sourceTree = BUILT_PRODUCTS_DIR; }; + A08CC7542BA373E9007A8248 /* LangChainDemoApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LangChainDemoApp.swift; sourceTree = ""; }; + A08CC7562BA373E9007A8248 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = ""; }; + A08CC7582BA373EA007A8248 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + A08CC75B2BA373EA007A8248 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; }; + A08CC7632BA37487007A8248 /* LangGraph-Swift */ = {isa = PBXFileReference; lastKnownFileType = wrapper; name = "LangGraph-Swift"; path = ..; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + A08CC74E2BA373E9007A8248 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + A08CC7682BA3772E007A8248 /* LangChain in Frameworks */, + A08CC7652BA37494007A8248 /* LangGraph in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + A08CC7482BA373E9007A8248 = { + isa = PBXGroup; + children = ( + A08CC7532BA373E9007A8248 /* LangChainDemo */, + A08CC7522BA373E9007A8248 /* Products */, + A08CC7622BA37487007A8248 /* Frameworks */, + ); + sourceTree = ""; + }; + A08CC7522BA373E9007A8248 /* Products */ = { + isa = PBXGroup; + children = ( + A08CC7512BA373E9007A8248 /* LangChainDemo.app */, + ); + name = Products; + sourceTree = ""; + }; + A08CC7532BA373E9007A8248 /* LangChainDemo */ = { + isa = PBXGroup; + children = ( + A08CC7542BA373E9007A8248 /* LangChainDemoApp.swift */, + A08CC7562BA373E9007A8248 /* ContentView.swift */, + A08CC7582BA373EA007A8248 /* Assets.xcassets */, + A08CC75A2BA373EA007A8248 /* Preview Content */, + ); + path = LangChainDemo; + sourceTree = ""; + }; + A08CC75A2BA373EA007A8248 /* Preview Content */ = { + isa = PBXGroup; + children = ( + A08CC75B2BA373EA007A8248 /* Preview Assets.xcassets */, + ); + path = "Preview Content"; + sourceTree = ""; + }; + A08CC7622BA37487007A8248 /* Frameworks */ = { + isa = PBXGroup; + children = ( + A08CC7632BA37487007A8248 /* LangGraph-Swift */, + ); + name = Frameworks; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + A08CC7502BA373E9007A8248 /* LangChainDemo */ = { + isa = PBXNativeTarget; + buildConfigurationList = A08CC75F2BA373EA007A8248 /* Build configuration list for PBXNativeTarget "LangChainDemo" */; + buildPhases = ( + A08CC74D2BA373E9007A8248 /* Sources */, + A08CC74E2BA373E9007A8248 /* Frameworks */, + A08CC74F2BA373E9007A8248 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = LangChainDemo; + packageProductDependencies = ( + A08CC7642BA37494007A8248 /* LangGraph */, + A08CC7672BA3772E007A8248 /* LangChain */, + ); + productName = LangChainDemo; + productReference = A08CC7512BA373E9007A8248 /* LangChainDemo.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + A08CC7492BA373E9007A8248 /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 1530; + LastUpgradeCheck = 1530; + TargetAttributes = { + A08CC7502BA373E9007A8248 = { + CreatedOnToolsVersion = 15.3; + }; + }; + }; + buildConfigurationList = A08CC74C2BA373E9007A8248 /* Build configuration list for PBXProject "LangChainDemo" */; + compatibilityVersion = "Xcode 14.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = A08CC7482BA373E9007A8248; + packageReferences = ( + A08CC7662BA3772E007A8248 /* XCRemoteSwiftPackageReference "langchain-swift" */, + ); + productRefGroup = A08CC7522BA373E9007A8248 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + A08CC7502BA373E9007A8248 /* LangChainDemo */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + A08CC74F2BA373E9007A8248 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + A08CC75C2BA373EA007A8248 /* Preview Assets.xcassets in Resources */, + A08CC7592BA373EA007A8248 /* Assets.xcassets in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + A08CC74D2BA373E9007A8248 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + A08CC7572BA373E9007A8248 /* ContentView.swift in Sources */, + A08CC7552BA373E9007A8248 /* LangChainDemoApp.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + A08CC75D2BA373EA007A8248 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; + GCC_C_LANGUAGE_STANDARD = gnu17; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 17.4; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)"; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + A08CC75E2BA373EA007A8248 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; + GCC_C_LANGUAGE_STANDARD = gnu17; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 17.4; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + A08CC7602BA373EA007A8248 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_ASSET_PATHS = "\"LangChainDemo/Preview Content\""; + DEVELOPMENT_TEAM = 48J595L9BX; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchScreen_Generation = YES; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = org.bsc.LangChainDemo; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + A08CC7612BA373EA007A8248 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_ASSET_PATHS = "\"LangChainDemo/Preview Content\""; + DEVELOPMENT_TEAM = 48J595L9BX; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchScreen_Generation = YES; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = org.bsc.LangChainDemo; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + A08CC74C2BA373E9007A8248 /* Build configuration list for PBXProject "LangChainDemo" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + A08CC75D2BA373EA007A8248 /* Debug */, + A08CC75E2BA373EA007A8248 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + A08CC75F2BA373EA007A8248 /* Build configuration list for PBXNativeTarget "LangChainDemo" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + A08CC7602BA373EA007A8248 /* Debug */, + A08CC7612BA373EA007A8248 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + +/* Begin XCRemoteSwiftPackageReference section */ + A08CC7662BA3772E007A8248 /* XCRemoteSwiftPackageReference "langchain-swift" */ = { + isa = XCRemoteSwiftPackageReference; + repositoryURL = "https://github.com/buhe/langchain-swift.git"; + requirement = { + kind = upToNextMajorVersion; + minimumVersion = 0.48.0; + }; + }; +/* End XCRemoteSwiftPackageReference section */ + +/* Begin XCSwiftPackageProductDependency section */ + A08CC7642BA37494007A8248 /* LangGraph */ = { + isa = XCSwiftPackageProductDependency; + productName = LangGraph; + }; + A08CC7672BA3772E007A8248 /* LangChain */ = { + isa = XCSwiftPackageProductDependency; + package = A08CC7662BA3772E007A8248 /* XCRemoteSwiftPackageReference "langchain-swift" */; + productName = LangChain; + }; +/* End XCSwiftPackageProductDependency section */ + }; + rootObject = A08CC7492BA373E9007A8248 /* Project object */; +} diff --git a/LangChainDemo/LangChainDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/LangChainDemo/LangChainDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/LangChainDemo/LangChainDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/LangChainDemo/LangChainDemo.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/LangChainDemo/LangChainDemo.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/LangChainDemo/LangChainDemo.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/LangChainDemo/LangChainDemo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/LangChainDemo/LangChainDemo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved new file mode 100644 index 0000000..2aa2e6e --- /dev/null +++ b/LangChainDemo/LangChainDemo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -0,0 +1,303 @@ +{ + "originHash" : "9f967c268a37c7ace07b0924d8a430e8dca22c0e207c303bb411a059e4ad9863", + "pins" : [ + { + "identity" : "async-http-client", + "kind" : "remoteSourceControl", + "location" : "https://github.com/swift-server/async-http-client.git", + "state" : { + "revision" : "291438696abdd48d2a83b52465c176efbd94512b", + "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", + "location" : "https://github.com/supabase-community/functions-swift", + "state" : { + "revision" : "d2fac1980cf5b589077b635d4e18249f7939a9db", + "version" : "1.1.1" + } + }, + { + "identity" : "generative-ai-swift", + "kind" : "remoteSourceControl", + "location" : "https://github.com/google/generative-ai-swift", + "state" : { + "revision" : "e2cebcd90645a3a94c0c823696e510a176bc384a", + "version" : "0.4.8" + } + }, + { + "identity" : "get", + "kind" : "remoteSourceControl", + "location" : "https://github.com/kean/Get", + "state" : { + "revision" : "12830cc64f31789ae6f4352d2d51d03a25fc3741", + "version" : "2.1.6" + } + }, + { + "identity" : "getextensions", + "kind" : "remoteSourceControl", + "location" : "https://github.com/binaryscraping/GetExtensions", + "state" : { + "revision" : "aa20f38721142eb6592b2c8f11179d32d7d70ae3", + "version" : "1.0.0" + } + }, + { + "identity" : "gotrue-swift", + "kind" : "remoteSourceControl", + "location" : "https://github.com/supabase-community/gotrue-swift", + "state" : { + "revision" : "e53731e21569b2e9ce6f58763ad0fbce8e2e7603", + "version" : "1.3.0" + } + }, + { + "identity" : "keychainaccess", + "kind" : "remoteSourceControl", + "location" : "https://github.com/kishikawakatsumi/KeychainAccess", + "state" : { + "revision" : "84e546727d66f1adc5439debad16270d0fdd04e7", + "version" : "4.2.2" + } + }, + { + "identity" : "langchain-swift", + "kind" : "remoteSourceControl", + "location" : "https://github.com/buhe/langchain-swift.git", + "state" : { + "revision" : "d2c945cfbb0b1b9bc571dc5121fbaa264bb42bd6", + "version" : "0.48.0" + } + }, + { + "identity" : "openai-kit", + "kind" : "remoteSourceControl", + "location" : "https://github.com/buhe/openai-kit", + "state" : { + "revision" : "f0c785d22dd14f71a42ad83cedbbddc02591aadb", + "version" : "1.8.5" + } + }, + { + "identity" : "postgrest-swift", + "kind" : "remoteSourceControl", + "location" : "https://github.com/supabase-community/postgrest-swift", + "state" : { + "revision" : "2afb40a2f91ba881db8f04131e1b5146001813a5", + "version" : "1.0.3" + } + }, + { + "identity" : "realtime-swift", + "kind" : "remoteSourceControl", + "location" : "https://github.com/supabase-community/realtime-swift.git", + "state" : { + "revision" : "0b985c687fe963f6bd818ff77a35c27247b98bb4", + "version" : "0.0.2" + } + }, + { + "identity" : "similarity-search-kit", + "kind" : "remoteSourceControl", + "location" : "https://github.com/buhe/similarity-search-kit", + "state" : { + "revision" : "39bbd0b5c2662728792ee9be132212e5fd4a49e2", + "version" : "0.0.16" + } + }, + { + "identity" : "storage-swift", + "kind" : "remoteSourceControl", + "location" : "https://github.com/supabase-community/storage-swift.git", + "state" : { + "revision" : "65cae9e1156711043cbdebb27b4df93cbef46a1b", + "version" : "0.1.4" + } + }, + { + "identity" : "supabase-swift", + "kind" : "remoteSourceControl", + "location" : "https://github.com/supabase-community/supabase-swift", + "state" : { + "revision" : "7088b85247c8e56317f0b22b9d60655e8f762fec", + "version" : "0.3.0" + } + }, + { + "identity" : "swift-algorithms", + "kind" : "remoteSourceControl", + "location" : "https://github.com/apple/swift-algorithms", + "state" : { + "revision" : "f6919dfc309e7f1b56224378b11e28bab5bccc42", + "version" : "1.2.0" + } + }, + { + "identity" : "swift-atomics", + "kind" : "remoteSourceControl", + "location" : "https://github.com/apple/swift-atomics.git", + "state" : { + "revision" : "cd142fd2f64be2100422d658e7411e39489da985", + "version" : "1.2.0" + } + }, + { + "identity" : "swift-collections", + "kind" : "remoteSourceControl", + "location" : "https://github.com/apple/swift-collections.git", + "state" : { + "revision" : "94cf62b3ba8d4bed62680a282d4c25f9c63c2efb", + "version" : "1.1.0" + } + }, + { + "identity" : "swift-filestore", + "kind" : "remoteSourceControl", + "location" : "https://github.com/juyan/swift-filestore", + "state" : { + "revision" : "61aa52c514e39a70c17ce6421d70807f46282154", + "version" : "0.7.0" + } + }, + { + "identity" : "swift-http-types", + "kind" : "remoteSourceControl", + "location" : "https://github.com/apple/swift-http-types", + "state" : { + "revision" : "12358d55a3824bd5fed310b999ea8cf83a9a1a65", + "version" : "1.0.3" + } + }, + { + "identity" : "swift-log", + "kind" : "remoteSourceControl", + "location" : "https://github.com/apple/swift-log.git", + "state" : { + "revision" : "e97a6fcb1ab07462881ac165fdbb37f067e205d5", + "version" : "1.5.4" + } + }, + { + "identity" : "swift-nio", + "kind" : "remoteSourceControl", + "location" : "https://github.com/apple/swift-nio.git", + "state" : { + "revision" : "fc63f0cf4e55a4597407a9fc95b16a2bc44b4982", + "version" : "2.64.0" + } + }, + { + "identity" : "swift-nio-extras", + "kind" : "remoteSourceControl", + "location" : "https://github.com/apple/swift-nio-extras.git", + "state" : { + "revision" : "a3b640d7dc567225db7c94386a6e71aded1bfa63", + "version" : "1.22.0" + } + }, + { + "identity" : "swift-nio-http2", + "kind" : "remoteSourceControl", + "location" : "https://github.com/apple/swift-nio-http2.git", + "state" : { + "revision" : "0904bf0feb5122b7e5c3f15db7df0eabe623dd87", + "version" : "1.30.0" + } + }, + { + "identity" : "swift-nio-ssl", + "kind" : "remoteSourceControl", + "location" : "https://github.com/apple/swift-nio-ssl.git", + "state" : { + "revision" : "7c381eb6083542b124a6c18fae742f55001dc2b5", + "version" : "2.26.0" + } + }, + { + "identity" : "swift-nio-transport-services", + "kind" : "remoteSourceControl", + "location" : "https://github.com/apple/swift-nio-transport-services.git", + "state" : { + "revision" : "6cbe0ed2b394f21ab0d46b9f0c50c6be964968ce", + "version" : "1.20.1" + } + }, + { + "identity" : "swift-numerics", + "kind" : "remoteSourceControl", + "location" : "https://github.com/apple/swift-numerics.git", + "state" : { + "revision" : "0a5bc04095a675662cf24757cc0640aa2204253b", + "version" : "1.0.2" + } + }, + { + "identity" : "swift-system", + "kind" : "remoteSourceControl", + "location" : "https://github.com/apple/swift-system.git", + "state" : { + "revision" : "025bcb1165deab2e20d4eaba79967ce73013f496", + "version" : "1.2.1" + } + }, + { + "identity" : "swiftsoup", + "kind" : "remoteSourceControl", + "location" : "https://github.com/scinfu/SwiftSoup", + "state" : { + "revision" : "1d39e56d364cba79ce43b341f9661b534cccb18d", + "version" : "2.7.1" + } + }, + { + "identity" : "swiftyjson", + "kind" : "remoteSourceControl", + "location" : "https://github.com/SwiftyJSON/SwiftyJSON", + "state" : { + "revision" : "b3dcd7dbd0d488e1a7077cb33b00f2083e382f07", + "version" : "5.0.1" + } + }, + { + "identity" : "swiftynotion", + "kind" : "remoteSourceControl", + "location" : "https://github.com/buhe/SwiftyNotion", + "state" : { + "revision" : "ccfe5600df5e315e48470ca840f682ec446869f8", + "version" : "0.1.5" + } + }, + { + "identity" : "swxmlhash", + "kind" : "remoteSourceControl", + "location" : "https://github.com/drmohundro/SWXMLHash", + "state" : { + "revision" : "a853604c9e9a83ad9954c7e3d2a565273982471f", + "version" : "7.0.2" + } + }, + { + "identity" : "urlqueryencoder", + "kind" : "remoteSourceControl", + "location" : "https://github.com/kean/URLQueryEncoder", + "state" : { + "revision" : "4ce950479707ea109f229d7230ec074a133b15d7", + "version" : "0.2.1" + } + } + ], + "version" : 3 +} diff --git a/LangChainDemo/LangChainDemo/Assets.xcassets/AccentColor.colorset/Contents.json b/LangChainDemo/LangChainDemo/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 0000000..eb87897 --- /dev/null +++ b/LangChainDemo/LangChainDemo/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors" : [ + { + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/LangChainDemo/LangChainDemo/Assets.xcassets/AppIcon.appiconset/Contents.json b/LangChainDemo/LangChainDemo/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..13613e3 --- /dev/null +++ b/LangChainDemo/LangChainDemo/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,13 @@ +{ + "images" : [ + { + "idiom" : "universal", + "platform" : "ios", + "size" : "1024x1024" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/LangChainDemo/LangChainDemo/Assets.xcassets/Contents.json b/LangChainDemo/LangChainDemo/Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/LangChainDemo/LangChainDemo/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/LangChainDemo/LangChainDemo/ContentView.swift b/LangChainDemo/LangChainDemo/ContentView.swift new file mode 100644 index 0000000..1b2393e --- /dev/null +++ b/LangChainDemo/LangChainDemo/ContentView.swift @@ -0,0 +1,24 @@ +// +// ContentView.swift +// LangChainDemo +// +// Created by bsorrentino on 14/03/24. +// + +import SwiftUI + +struct ContentView: View { + var body: some View { + VStack { + Image(systemName: "globe") + .imageScale(.large) + .foregroundStyle(.tint) + Text("Hello, world!") + } + .padding() + } +} + +#Preview { + ContentView() +} diff --git a/LangChainDemo/LangChainDemo/LangChainDemoApp.swift b/LangChainDemo/LangChainDemo/LangChainDemoApp.swift new file mode 100644 index 0000000..de78f7f --- /dev/null +++ b/LangChainDemo/LangChainDemo/LangChainDemoApp.swift @@ -0,0 +1,17 @@ +// +// LangChainDemoApp.swift +// LangChainDemo +// +// Created by bsorrentino on 14/03/24. +// + +import SwiftUI + +@main +struct LangChainDemoApp: App { + var body: some Scene { + WindowGroup { + ContentView() + } + } +} diff --git a/LangChainDemo/LangChainDemo/Preview Content/Preview Assets.xcassets/Contents.json b/LangChainDemo/LangChainDemo/Preview Content/Preview Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/LangChainDemo/LangChainDemo/Preview Content/Preview Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +}