From f31532428241be8e129874d707c74909b8b0697b Mon Sep 17 00:00:00 2001 From: Philipp Zagar Date: Sun, 25 Feb 2024 23:27:10 -0800 Subject: [PATCH] Final adjustments --- LLMonFHIR/LLMonFHIRDelegate.swift | 2 +- LLMonFHIR/SharedContext/StorageKeys.swift | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/LLMonFHIR/LLMonFHIRDelegate.swift b/LLMonFHIR/LLMonFHIRDelegate.swift index 9730c9c..860dc86 100644 --- a/LLMonFHIR/LLMonFHIRDelegate.swift +++ b/LLMonFHIR/LLMonFHIRDelegate.swift @@ -23,7 +23,7 @@ class LLMonFHIRDelegate: SpeziAppDelegate { healthKit } LLMRunner { - LLMOpenAIPlatform(configuration: .init(concurrentStreams: 5)) + LLMOpenAIPlatform(configuration: .init(concurrentStreams: 20)) } FHIRInterpretationModule() } diff --git a/LLMonFHIR/SharedContext/StorageKeys.swift b/LLMonFHIR/SharedContext/StorageKeys.swift index fb2e91c..c7d8f50 100644 --- a/LLMonFHIR/SharedContext/StorageKeys.swift +++ b/LLMonFHIR/SharedContext/StorageKeys.swift @@ -6,7 +6,6 @@ // SPDX-License-Identifier: MIT // -import struct OpenAI.Model import SpeziLLMOpenAI @@ -15,7 +14,7 @@ enum StorageKeys { enum Defaults { static let enableTextToSpeech = false static let resourceLimit = 250 - static let openAIModel: Model = .gpt4_turbo_preview + static let openAIModel: LLMOpenAIModelType = .gpt4_turbo_preview }