├── .github └── workflow │ └── codesign.yml ├── LICENSE ├── ModelCraft.xcodeproj ├── project.pbxproj ├── project.xcworkspace │ ├── contents.xcworkspacedata │ ├── xcshareddata │ │ ├── IDEWorkspaceChecks.plist │ │ ├── WorkspaceSettings.xcsettings │ │ └── swiftpm │ │ │ └── Package.resolved │ └── xcuserdata │ │ └── zhanghongshen.xcuserdatad │ │ ├── IDEFindNavigatorScopes.plist │ │ └── WorkspaceSettings.xcsettings ├── xcshareddata │ └── xcschemes │ │ └── ModelCraft.xcscheme └── xcuserdata │ └── zhanghongshen.xcuserdatad │ ├── xcdebugger │ └── Breakpoints_v2.xcbkptlist │ └── xcschemes │ └── xcschememanagement.plist ├── ModelCraft ├── Assets.xcassets │ ├── AccentColor.colorset │ │ └── Contents.json │ ├── AppIcon.appiconset │ │ ├── 100.png │ │ ├── 102.png │ │ ├── 1024-mac.png │ │ ├── 1024.png │ │ ├── 108.png │ │ ├── 114.png │ │ ├── 120.png │ │ ├── 128-mac.png │ │ ├── 144.png │ │ ├── 152.png │ │ ├── 16-mac.png │ │ ├── 167.png │ │ ├── 172.png │ │ ├── 180.png │ │ ├── 196.png │ │ ├── 20.png │ │ ├── 216.png │ │ ├── 234.png │ │ ├── 256-mac.png │ │ ├── 258.png │ │ ├── 29.png │ │ ├── 32-mac.png │ │ ├── 40.png │ │ ├── 48.png │ │ ├── 50.png │ │ ├── 512-mac.png │ │ ├── 55.png │ │ ├── 57.png │ │ ├── 58.png │ │ ├── 60.png │ │ ├── 64-mac.png │ │ ├── 66.png │ │ ├── 72.png │ │ ├── 76.png │ │ ├── 80.png │ │ ├── 87.png │ │ ├── 88.png │ │ ├── 92.png │ │ └── Contents.json │ ├── Assistant.imageset │ │ ├── Contents.json │ │ └── bg-remover-1711351482203.png │ ├── Contents.json │ └── User.imageset │ │ ├── Contents.json │ │ └── bg-remover-1712995418870.png ├── Components │ ├── CopyButton.swift │ ├── DefaultImageView.swift │ ├── DeleteButton.swift │ ├── FileThumbnail.swift │ ├── ImageButton.swift │ ├── ImageLoader.swift │ ├── ModelTaskStatus.swift │ ├── PlatformImage.swift │ └── ServerStatusView.swift ├── ContentView.swift ├── DataModels │ ├── AgentPrompt.swift │ ├── AppError.swift │ ├── Chat.swift │ ├── Conversation.swift │ ├── Default.swift │ ├── ErrorWrapper.swift │ ├── GlobalStore.swift │ ├── KnowledgaBaseModelActor.swift │ ├── KnowledgeBase.swift │ ├── LocalFileURL.swift │ ├── Message.swift │ ├── ModelTask.swift │ ├── Pasteboard.swift │ ├── Prompt.swift │ ├── PromptSuggestion.swift │ ├── RollingSummary.swift │ ├── ServerStatus.swift │ ├── SplashCodeSyntaxHighlighter.swift │ ├── TextOutputFormat.swift │ ├── UserSettings.swift │ └── XMLFile.swift ├── Executables │ └── ollama ├── Extensions │ ├── AVSpeechSynthesizer+.swift │ ├── Comparable+.swift │ ├── Date+.swift │ ├── Foundation │ │ ├── Bundle+.swift │ │ ├── FileManager+.swift │ │ ├── Locale+.swift │ │ ├── RandomAccessCollection+.swift │ │ └── UserDefaults+.swift │ ├── NLEmbedding+.swift │ ├── SwiftData │ │ └── ModelContext+.swift │ ├── SwiftUI │ │ ├── EnvironmentValues+.swift │ │ ├── Image+.swift │ │ ├── RoundedRectangle+.swift │ │ ├── TabView+.swift │ │ └── VIew+.swift │ └── Theme+ModelCraft.swift ├── Features │ ├── AcknowledgmentView.swift │ ├── Chat │ │ ├── ChatView.swift │ │ ├── ConversationView.swift │ │ ├── ImageView.swift │ │ ├── PromptCard.swift │ │ └── PromptSuggestionsView.swift │ ├── KnowledgeBase │ │ ├── KnowledgeBaseDetailGridView.swift │ │ ├── KnowledgeBaseDetailListView.swift │ │ ├── KnowledgeBaseDetailView.swift │ │ └── KnowledgeBaseEdition.swift │ ├── Model │ │ ├── LocalModelsView.swift │ │ ├── ModelDetailView.swift │ │ └── ModelStore.swift │ ├── Prompt │ │ ├── PromptEditionView.swift │ │ ├── PromptSearchView.swift │ │ └── PromptsView.swift │ └── Settings │ │ ├── GeneralView.swift │ │ └── SettingsView.swift ├── Info.plist ├── Localizable.xcstrings ├── ModelCraft.entitlements ├── ModelCraftApp.swift ├── Preview Content │ └── Preview Assets.xcassets │ │ └── Contents.json └── Services │ ├── CollectionManager.swift │ ├── FixedLengthTextSplitter.swift │ ├── OllamaService.swift │ ├── SemanticTextSplitter.swift │ ├── TagStreamParser.swift │ └── TextSplitter.swift ├── ModelCraftTests ├── ModelCraftTests.swift ├── TagStreamParserTests.swift └── TestResources │ ├── jfk.mp3 │ └── jfk.wav ├── ModelCraftUITests ├── ModelCraftUITests.swift └── ModelCraftUITestsLaunchTests.swift ├── README.md ├── README_zh-CN.md ├── assets ├── chat_dark.png ├── chat_light.png ├── knowledge_base_dark.png ├── knowledge_base_light.png ├── model_store_dark.png ├── model_store_light.png ├── prompt_library_dark.png └── prompt_library_light.png └── logo.png /.github/workflow/codesign.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/.github/workflow/codesign.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/LICENSE -------------------------------------------------------------------------------- /ModelCraft.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /ModelCraft.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft.xcodeproj/project.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /ModelCraft.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist -------------------------------------------------------------------------------- /ModelCraft.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings -------------------------------------------------------------------------------- /ModelCraft.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved -------------------------------------------------------------------------------- /ModelCraft.xcodeproj/project.xcworkspace/xcuserdata/zhanghongshen.xcuserdatad/IDEFindNavigatorScopes.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft.xcodeproj/project.xcworkspace/xcuserdata/zhanghongshen.xcuserdatad/IDEFindNavigatorScopes.plist -------------------------------------------------------------------------------- /ModelCraft.xcodeproj/project.xcworkspace/xcuserdata/zhanghongshen.xcuserdatad/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft.xcodeproj/project.xcworkspace/xcuserdata/zhanghongshen.xcuserdatad/WorkspaceSettings.xcsettings -------------------------------------------------------------------------------- /ModelCraft.xcodeproj/xcshareddata/xcschemes/ModelCraft.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft.xcodeproj/xcshareddata/xcschemes/ModelCraft.xcscheme -------------------------------------------------------------------------------- /ModelCraft.xcodeproj/xcuserdata/zhanghongshen.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft.xcodeproj/xcuserdata/zhanghongshen.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist -------------------------------------------------------------------------------- /ModelCraft.xcodeproj/xcuserdata/zhanghongshen.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft.xcodeproj/xcuserdata/zhanghongshen.xcuserdatad/xcschemes/xcschememanagement.plist -------------------------------------------------------------------------------- /ModelCraft/Assets.xcassets/AccentColor.colorset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Assets.xcassets/AccentColor.colorset/Contents.json -------------------------------------------------------------------------------- /ModelCraft/Assets.xcassets/AppIcon.appiconset/100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Assets.xcassets/AppIcon.appiconset/100.png -------------------------------------------------------------------------------- /ModelCraft/Assets.xcassets/AppIcon.appiconset/102.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Assets.xcassets/AppIcon.appiconset/102.png -------------------------------------------------------------------------------- /ModelCraft/Assets.xcassets/AppIcon.appiconset/1024-mac.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Assets.xcassets/AppIcon.appiconset/1024-mac.png -------------------------------------------------------------------------------- /ModelCraft/Assets.xcassets/AppIcon.appiconset/1024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Assets.xcassets/AppIcon.appiconset/1024.png -------------------------------------------------------------------------------- /ModelCraft/Assets.xcassets/AppIcon.appiconset/108.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Assets.xcassets/AppIcon.appiconset/108.png -------------------------------------------------------------------------------- /ModelCraft/Assets.xcassets/AppIcon.appiconset/114.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Assets.xcassets/AppIcon.appiconset/114.png -------------------------------------------------------------------------------- /ModelCraft/Assets.xcassets/AppIcon.appiconset/120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Assets.xcassets/AppIcon.appiconset/120.png -------------------------------------------------------------------------------- /ModelCraft/Assets.xcassets/AppIcon.appiconset/128-mac.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Assets.xcassets/AppIcon.appiconset/128-mac.png -------------------------------------------------------------------------------- /ModelCraft/Assets.xcassets/AppIcon.appiconset/144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Assets.xcassets/AppIcon.appiconset/144.png -------------------------------------------------------------------------------- /ModelCraft/Assets.xcassets/AppIcon.appiconset/152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Assets.xcassets/AppIcon.appiconset/152.png -------------------------------------------------------------------------------- /ModelCraft/Assets.xcassets/AppIcon.appiconset/16-mac.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Assets.xcassets/AppIcon.appiconset/16-mac.png -------------------------------------------------------------------------------- /ModelCraft/Assets.xcassets/AppIcon.appiconset/167.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Assets.xcassets/AppIcon.appiconset/167.png -------------------------------------------------------------------------------- /ModelCraft/Assets.xcassets/AppIcon.appiconset/172.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Assets.xcassets/AppIcon.appiconset/172.png -------------------------------------------------------------------------------- /ModelCraft/Assets.xcassets/AppIcon.appiconset/180.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Assets.xcassets/AppIcon.appiconset/180.png -------------------------------------------------------------------------------- /ModelCraft/Assets.xcassets/AppIcon.appiconset/196.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Assets.xcassets/AppIcon.appiconset/196.png -------------------------------------------------------------------------------- /ModelCraft/Assets.xcassets/AppIcon.appiconset/20.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Assets.xcassets/AppIcon.appiconset/20.png -------------------------------------------------------------------------------- /ModelCraft/Assets.xcassets/AppIcon.appiconset/216.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Assets.xcassets/AppIcon.appiconset/216.png -------------------------------------------------------------------------------- /ModelCraft/Assets.xcassets/AppIcon.appiconset/234.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Assets.xcassets/AppIcon.appiconset/234.png -------------------------------------------------------------------------------- /ModelCraft/Assets.xcassets/AppIcon.appiconset/256-mac.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Assets.xcassets/AppIcon.appiconset/256-mac.png -------------------------------------------------------------------------------- /ModelCraft/Assets.xcassets/AppIcon.appiconset/258.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Assets.xcassets/AppIcon.appiconset/258.png -------------------------------------------------------------------------------- /ModelCraft/Assets.xcassets/AppIcon.appiconset/29.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Assets.xcassets/AppIcon.appiconset/29.png -------------------------------------------------------------------------------- /ModelCraft/Assets.xcassets/AppIcon.appiconset/32-mac.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Assets.xcassets/AppIcon.appiconset/32-mac.png -------------------------------------------------------------------------------- /ModelCraft/Assets.xcassets/AppIcon.appiconset/40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Assets.xcassets/AppIcon.appiconset/40.png -------------------------------------------------------------------------------- /ModelCraft/Assets.xcassets/AppIcon.appiconset/48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Assets.xcassets/AppIcon.appiconset/48.png -------------------------------------------------------------------------------- /ModelCraft/Assets.xcassets/AppIcon.appiconset/50.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Assets.xcassets/AppIcon.appiconset/50.png -------------------------------------------------------------------------------- /ModelCraft/Assets.xcassets/AppIcon.appiconset/512-mac.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Assets.xcassets/AppIcon.appiconset/512-mac.png -------------------------------------------------------------------------------- /ModelCraft/Assets.xcassets/AppIcon.appiconset/55.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Assets.xcassets/AppIcon.appiconset/55.png -------------------------------------------------------------------------------- /ModelCraft/Assets.xcassets/AppIcon.appiconset/57.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Assets.xcassets/AppIcon.appiconset/57.png -------------------------------------------------------------------------------- /ModelCraft/Assets.xcassets/AppIcon.appiconset/58.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Assets.xcassets/AppIcon.appiconset/58.png -------------------------------------------------------------------------------- /ModelCraft/Assets.xcassets/AppIcon.appiconset/60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Assets.xcassets/AppIcon.appiconset/60.png -------------------------------------------------------------------------------- /ModelCraft/Assets.xcassets/AppIcon.appiconset/64-mac.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Assets.xcassets/AppIcon.appiconset/64-mac.png -------------------------------------------------------------------------------- /ModelCraft/Assets.xcassets/AppIcon.appiconset/66.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Assets.xcassets/AppIcon.appiconset/66.png -------------------------------------------------------------------------------- /ModelCraft/Assets.xcassets/AppIcon.appiconset/72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Assets.xcassets/AppIcon.appiconset/72.png -------------------------------------------------------------------------------- /ModelCraft/Assets.xcassets/AppIcon.appiconset/76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Assets.xcassets/AppIcon.appiconset/76.png -------------------------------------------------------------------------------- /ModelCraft/Assets.xcassets/AppIcon.appiconset/80.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Assets.xcassets/AppIcon.appiconset/80.png -------------------------------------------------------------------------------- /ModelCraft/Assets.xcassets/AppIcon.appiconset/87.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Assets.xcassets/AppIcon.appiconset/87.png -------------------------------------------------------------------------------- /ModelCraft/Assets.xcassets/AppIcon.appiconset/88.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Assets.xcassets/AppIcon.appiconset/88.png -------------------------------------------------------------------------------- /ModelCraft/Assets.xcassets/AppIcon.appiconset/92.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Assets.xcassets/AppIcon.appiconset/92.png -------------------------------------------------------------------------------- /ModelCraft/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Assets.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /ModelCraft/Assets.xcassets/Assistant.imageset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Assets.xcassets/Assistant.imageset/Contents.json -------------------------------------------------------------------------------- /ModelCraft/Assets.xcassets/Assistant.imageset/bg-remover-1711351482203.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Assets.xcassets/Assistant.imageset/bg-remover-1711351482203.png -------------------------------------------------------------------------------- /ModelCraft/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Assets.xcassets/Contents.json -------------------------------------------------------------------------------- /ModelCraft/Assets.xcassets/User.imageset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Assets.xcassets/User.imageset/Contents.json -------------------------------------------------------------------------------- /ModelCraft/Assets.xcassets/User.imageset/bg-remover-1712995418870.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Assets.xcassets/User.imageset/bg-remover-1712995418870.png -------------------------------------------------------------------------------- /ModelCraft/Components/CopyButton.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Components/CopyButton.swift -------------------------------------------------------------------------------- /ModelCraft/Components/DefaultImageView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Components/DefaultImageView.swift -------------------------------------------------------------------------------- /ModelCraft/Components/DeleteButton.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Components/DeleteButton.swift -------------------------------------------------------------------------------- /ModelCraft/Components/FileThumbnail.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Components/FileThumbnail.swift -------------------------------------------------------------------------------- /ModelCraft/Components/ImageButton.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Components/ImageButton.swift -------------------------------------------------------------------------------- /ModelCraft/Components/ImageLoader.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Components/ImageLoader.swift -------------------------------------------------------------------------------- /ModelCraft/Components/ModelTaskStatus.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Components/ModelTaskStatus.swift -------------------------------------------------------------------------------- /ModelCraft/Components/PlatformImage.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Components/PlatformImage.swift -------------------------------------------------------------------------------- /ModelCraft/Components/ServerStatusView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Components/ServerStatusView.swift -------------------------------------------------------------------------------- /ModelCraft/ContentView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/ContentView.swift -------------------------------------------------------------------------------- /ModelCraft/DataModels/AgentPrompt.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/DataModels/AgentPrompt.swift -------------------------------------------------------------------------------- /ModelCraft/DataModels/AppError.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/DataModels/AppError.swift -------------------------------------------------------------------------------- /ModelCraft/DataModels/Chat.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/DataModels/Chat.swift -------------------------------------------------------------------------------- /ModelCraft/DataModels/Conversation.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/DataModels/Conversation.swift -------------------------------------------------------------------------------- /ModelCraft/DataModels/Default.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/DataModels/Default.swift -------------------------------------------------------------------------------- /ModelCraft/DataModels/ErrorWrapper.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/DataModels/ErrorWrapper.swift -------------------------------------------------------------------------------- /ModelCraft/DataModels/GlobalStore.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/DataModels/GlobalStore.swift -------------------------------------------------------------------------------- /ModelCraft/DataModels/KnowledgaBaseModelActor.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/DataModels/KnowledgaBaseModelActor.swift -------------------------------------------------------------------------------- /ModelCraft/DataModels/KnowledgeBase.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/DataModels/KnowledgeBase.swift -------------------------------------------------------------------------------- /ModelCraft/DataModels/LocalFileURL.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/DataModels/LocalFileURL.swift -------------------------------------------------------------------------------- /ModelCraft/DataModels/Message.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/DataModels/Message.swift -------------------------------------------------------------------------------- /ModelCraft/DataModels/ModelTask.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/DataModels/ModelTask.swift -------------------------------------------------------------------------------- /ModelCraft/DataModels/Pasteboard.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/DataModels/Pasteboard.swift -------------------------------------------------------------------------------- /ModelCraft/DataModels/Prompt.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/DataModels/Prompt.swift -------------------------------------------------------------------------------- /ModelCraft/DataModels/PromptSuggestion.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/DataModels/PromptSuggestion.swift -------------------------------------------------------------------------------- /ModelCraft/DataModels/RollingSummary.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/DataModels/RollingSummary.swift -------------------------------------------------------------------------------- /ModelCraft/DataModels/ServerStatus.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/DataModels/ServerStatus.swift -------------------------------------------------------------------------------- /ModelCraft/DataModels/SplashCodeSyntaxHighlighter.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/DataModels/SplashCodeSyntaxHighlighter.swift -------------------------------------------------------------------------------- /ModelCraft/DataModels/TextOutputFormat.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/DataModels/TextOutputFormat.swift -------------------------------------------------------------------------------- /ModelCraft/DataModels/UserSettings.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/DataModels/UserSettings.swift -------------------------------------------------------------------------------- /ModelCraft/DataModels/XMLFile.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/DataModels/XMLFile.swift -------------------------------------------------------------------------------- /ModelCraft/Executables/ollama: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Executables/ollama -------------------------------------------------------------------------------- /ModelCraft/Extensions/AVSpeechSynthesizer+.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Extensions/AVSpeechSynthesizer+.swift -------------------------------------------------------------------------------- /ModelCraft/Extensions/Comparable+.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Extensions/Comparable+.swift -------------------------------------------------------------------------------- /ModelCraft/Extensions/Date+.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Extensions/Date+.swift -------------------------------------------------------------------------------- /ModelCraft/Extensions/Foundation/Bundle+.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Extensions/Foundation/Bundle+.swift -------------------------------------------------------------------------------- /ModelCraft/Extensions/Foundation/FileManager+.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Extensions/Foundation/FileManager+.swift -------------------------------------------------------------------------------- /ModelCraft/Extensions/Foundation/Locale+.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Extensions/Foundation/Locale+.swift -------------------------------------------------------------------------------- /ModelCraft/Extensions/Foundation/RandomAccessCollection+.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Extensions/Foundation/RandomAccessCollection+.swift -------------------------------------------------------------------------------- /ModelCraft/Extensions/Foundation/UserDefaults+.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Extensions/Foundation/UserDefaults+.swift -------------------------------------------------------------------------------- /ModelCraft/Extensions/NLEmbedding+.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Extensions/NLEmbedding+.swift -------------------------------------------------------------------------------- /ModelCraft/Extensions/SwiftData/ModelContext+.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Extensions/SwiftData/ModelContext+.swift -------------------------------------------------------------------------------- /ModelCraft/Extensions/SwiftUI/EnvironmentValues+.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Extensions/SwiftUI/EnvironmentValues+.swift -------------------------------------------------------------------------------- /ModelCraft/Extensions/SwiftUI/Image+.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Extensions/SwiftUI/Image+.swift -------------------------------------------------------------------------------- /ModelCraft/Extensions/SwiftUI/RoundedRectangle+.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Extensions/SwiftUI/RoundedRectangle+.swift -------------------------------------------------------------------------------- /ModelCraft/Extensions/SwiftUI/TabView+.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Extensions/SwiftUI/TabView+.swift -------------------------------------------------------------------------------- /ModelCraft/Extensions/SwiftUI/VIew+.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Extensions/SwiftUI/VIew+.swift -------------------------------------------------------------------------------- /ModelCraft/Extensions/Theme+ModelCraft.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Extensions/Theme+ModelCraft.swift -------------------------------------------------------------------------------- /ModelCraft/Features/AcknowledgmentView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Features/AcknowledgmentView.swift -------------------------------------------------------------------------------- /ModelCraft/Features/Chat/ChatView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Features/Chat/ChatView.swift -------------------------------------------------------------------------------- /ModelCraft/Features/Chat/ConversationView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Features/Chat/ConversationView.swift -------------------------------------------------------------------------------- /ModelCraft/Features/Chat/ImageView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Features/Chat/ImageView.swift -------------------------------------------------------------------------------- /ModelCraft/Features/Chat/PromptCard.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Features/Chat/PromptCard.swift -------------------------------------------------------------------------------- /ModelCraft/Features/Chat/PromptSuggestionsView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Features/Chat/PromptSuggestionsView.swift -------------------------------------------------------------------------------- /ModelCraft/Features/KnowledgeBase/KnowledgeBaseDetailGridView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Features/KnowledgeBase/KnowledgeBaseDetailGridView.swift -------------------------------------------------------------------------------- /ModelCraft/Features/KnowledgeBase/KnowledgeBaseDetailListView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Features/KnowledgeBase/KnowledgeBaseDetailListView.swift -------------------------------------------------------------------------------- /ModelCraft/Features/KnowledgeBase/KnowledgeBaseDetailView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Features/KnowledgeBase/KnowledgeBaseDetailView.swift -------------------------------------------------------------------------------- /ModelCraft/Features/KnowledgeBase/KnowledgeBaseEdition.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Features/KnowledgeBase/KnowledgeBaseEdition.swift -------------------------------------------------------------------------------- /ModelCraft/Features/Model/LocalModelsView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Features/Model/LocalModelsView.swift -------------------------------------------------------------------------------- /ModelCraft/Features/Model/ModelDetailView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Features/Model/ModelDetailView.swift -------------------------------------------------------------------------------- /ModelCraft/Features/Model/ModelStore.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Features/Model/ModelStore.swift -------------------------------------------------------------------------------- /ModelCraft/Features/Prompt/PromptEditionView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Features/Prompt/PromptEditionView.swift -------------------------------------------------------------------------------- /ModelCraft/Features/Prompt/PromptSearchView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Features/Prompt/PromptSearchView.swift -------------------------------------------------------------------------------- /ModelCraft/Features/Prompt/PromptsView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Features/Prompt/PromptsView.swift -------------------------------------------------------------------------------- /ModelCraft/Features/Settings/GeneralView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Features/Settings/GeneralView.swift -------------------------------------------------------------------------------- /ModelCraft/Features/Settings/SettingsView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Features/Settings/SettingsView.swift -------------------------------------------------------------------------------- /ModelCraft/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Info.plist -------------------------------------------------------------------------------- /ModelCraft/Localizable.xcstrings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Localizable.xcstrings -------------------------------------------------------------------------------- /ModelCraft/ModelCraft.entitlements: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/ModelCraft.entitlements -------------------------------------------------------------------------------- /ModelCraft/ModelCraftApp.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/ModelCraftApp.swift -------------------------------------------------------------------------------- /ModelCraft/Preview Content/Preview Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Preview Content/Preview Assets.xcassets/Contents.json -------------------------------------------------------------------------------- /ModelCraft/Services/CollectionManager.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Services/CollectionManager.swift -------------------------------------------------------------------------------- /ModelCraft/Services/FixedLengthTextSplitter.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Services/FixedLengthTextSplitter.swift -------------------------------------------------------------------------------- /ModelCraft/Services/OllamaService.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Services/OllamaService.swift -------------------------------------------------------------------------------- /ModelCraft/Services/SemanticTextSplitter.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Services/SemanticTextSplitter.swift -------------------------------------------------------------------------------- /ModelCraft/Services/TagStreamParser.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Services/TagStreamParser.swift -------------------------------------------------------------------------------- /ModelCraft/Services/TextSplitter.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraft/Services/TextSplitter.swift -------------------------------------------------------------------------------- /ModelCraftTests/ModelCraftTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraftTests/ModelCraftTests.swift -------------------------------------------------------------------------------- /ModelCraftTests/TagStreamParserTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraftTests/TagStreamParserTests.swift -------------------------------------------------------------------------------- /ModelCraftTests/TestResources/jfk.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraftTests/TestResources/jfk.mp3 -------------------------------------------------------------------------------- /ModelCraftTests/TestResources/jfk.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraftTests/TestResources/jfk.wav -------------------------------------------------------------------------------- /ModelCraftUITests/ModelCraftUITests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraftUITests/ModelCraftUITests.swift -------------------------------------------------------------------------------- /ModelCraftUITests/ModelCraftUITestsLaunchTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/ModelCraftUITests/ModelCraftUITestsLaunchTests.swift -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/README.md -------------------------------------------------------------------------------- /README_zh-CN.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/README_zh-CN.md -------------------------------------------------------------------------------- /assets/chat_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/assets/chat_dark.png -------------------------------------------------------------------------------- /assets/chat_light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/assets/chat_light.png -------------------------------------------------------------------------------- /assets/knowledge_base_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/assets/knowledge_base_dark.png -------------------------------------------------------------------------------- /assets/knowledge_base_light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/assets/knowledge_base_light.png -------------------------------------------------------------------------------- /assets/model_store_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/assets/model_store_dark.png -------------------------------------------------------------------------------- /assets/model_store_light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/assets/model_store_light.png -------------------------------------------------------------------------------- /assets/prompt_library_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/assets/prompt_library_dark.png -------------------------------------------------------------------------------- /assets/prompt_library_light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/assets/prompt_library_light.png -------------------------------------------------------------------------------- /logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhang-hongshen/ModelCraft/HEAD/logo.png --------------------------------------------------------------------------------