Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor to use SpeziLLM, SpeziChat, and Spezi 1.x #36

Merged
merged 27 commits into from
Mar 28, 2024
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
de5a6e7
Refactor to use SpeziLLM
vishnuravi Mar 17, 2024
11d0dd8
Update Settings View
vishnuravi Mar 17, 2024
4bda922
Add text to speech settings
vishnuravi Mar 17, 2024
88bed89
Update UI test
vishnuravi Mar 17, 2024
4fc8b86
Update model settings
vishnuravi Mar 17, 2024
5aafa8d
Update model options
vishnuravi Mar 18, 2024
97b14cf
Fix settings view
vishnuravi Mar 18, 2024
051cf4f
Updates SpeziLLM to latest version
vishnuravi Mar 23, 2024
91481a5
Removes unnecessary password autofill disable during onboarding UI test
vishnuravi Mar 23, 2024
bc61a15
Migrate to string catalogue
vishnuravi Mar 23, 2024
8dbd5a5
Fix REUSE and remove unused plist
vishnuravi Mar 23, 2024
327d5f9
Add LLM mock mode for UI testing
vishnuravi Mar 23, 2024
9c4033f
Adds UI tests
vishnuravi Mar 23, 2024
406bc05
Add reset chat option and update tests
vishnuravi Mar 23, 2024
ebc74d8
Fixes SwiftLint error
vishnuravi Mar 23, 2024
971a1cb
Address feedback
vishnuravi Mar 27, 2024
56c479e
Better error handling in HealthGPTView
vishnuravi Mar 27, 2024
e708998
Fix model switch option
vishnuravi Mar 27, 2024
2bca9cd
Convert HealthDataFetcher into a module and inject into HealthDataInt…
vishnuravi Mar 27, 2024
f8ce3f8
Should not invoke LLM query for system message
vishnuravi Mar 27, 2024
4063082
Update README
vishnuravi Mar 27, 2024
84fa508
Remove redundant authorization
vishnuravi Mar 28, 2024
68db0b4
Update README
vishnuravi Mar 28, 2024
0256a8e
Refresh data when resetting chat
vishnuravi Mar 28, 2024
8ef1477
Allow exporting chat as a text file
vishnuravi Mar 28, 2024
72c694f
Add reset button to toolbar and update README with new screenshots
vishnuravi Mar 28, 2024
132cd49
Fix feature flag for resetting secure storage
vishnuravi Mar 28, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix REUSE and remove unused plist
vishnuravi committed Mar 23, 2024
commit 8dbd5a5bb12c43d58744fc607b60afbd48ed6ee3
4 changes: 0 additions & 4 deletions HealthGPT.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
@@ -34,7 +34,6 @@
27859C252A34F2D000397C85 /* XCTHealthKit in Frameworks */ = {isa = PBXBuildFile; productRef = 27859C242A34F2D000397C85 /* XCTHealthKit */; };
27859C282A34F2DE00397C85 /* XCTRuntimeAssertions in Frameworks */ = {isa = PBXBuildFile; productRef = 27859C272A34F2DE00397C85 /* XCTRuntimeAssertions */; };
27B249672A065D360091E52C /* PromptGeneratorTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 27B249662A065D360091E52C /* PromptGeneratorTests.swift */; };
27BA6BE429EF9A910079DC17 /* OpenAI-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 27BA6BE329EF9A910079DC17 /* OpenAI-Info.plist */; };
27E2CD172AEF564000998FCA /* HealthGPTViewUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 27E2CD162AEF564000998FCA /* HealthGPTViewUITests.swift */; };
2F4242952A8B0393006E2B01 /* OpenAIAPIKey.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2F4242942A8B0393006E2B01 /* OpenAIAPIKey.swift */; };
2F4242972A8B03A5006E2B01 /* OpenAIModelSelection.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2F4242962A8B03A5006E2B01 /* OpenAIModelSelection.swift */; };
@@ -90,7 +89,6 @@
275DEFF329EECA170079D453 /* CodableArray+RawRepresentable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "CodableArray+RawRepresentable.swift"; sourceTree = "<group>"; };
27B2495A2A06590E0091E52C /* HealthGPTTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = HealthGPTTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
27B249662A065D360091E52C /* PromptGeneratorTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PromptGeneratorTests.swift; sourceTree = "<group>"; };
27BA6BE329EF9A910079DC17 /* OpenAI-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "OpenAI-Info.plist"; sourceTree = "<group>"; };
27E2CD162AEF564000998FCA /* HealthGPTViewUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HealthGPTViewUITests.swift; sourceTree = "<group>"; };
2F4242942A8B0393006E2B01 /* OpenAIAPIKey.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OpenAIAPIKey.swift; sourceTree = "<group>"; };
2F4242962A8B03A5006E2B01 /* OpenAIModelSelection.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OpenAIModelSelection.swift; sourceTree = "<group>"; };
@@ -207,7 +205,6 @@
2FAEC07F297F583900C11C42 /* HealthGPT.entitlements */,
653A258928339462005D4D48 /* Info.plist */,
634523F02BAEF62D00A6E2A1 /* Localizable.xcstrings */,
27BA6BE329EF9A910079DC17 /* OpenAI-Info.plist */,
);
path = "Supporting Files";
sourceTree = "<group>";
@@ -423,7 +420,6 @@
files = (
653A255528338800005D4D48 /* Assets.xcassets in Resources */,
634523F12BAEF62E00A6E2A1 /* Localizable.xcstrings in Resources */,
27BA6BE429EF9A910079DC17 /* OpenAI-Info.plist in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
5 changes: 5 additions & 0 deletions HealthGPT/Supporting Files/Localizable.xcstrings.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
This source file is part of the Stanford HealthGPT project

SPDX-FileCopyrightText: 2024 Stanford University

SPDX-License-Identifier: MIT
8 changes: 0 additions & 8 deletions HealthGPT/Supporting Files/OpenAI-Info.plist

This file was deleted.

5 changes: 0 additions & 5 deletions HealthGPT/Supporting Files/OpenAI-Info.plist.license

This file was deleted.