diff --git a/app/src/main/kotlin/dev/chungjungsoo/gptmobile/data/ModelConstants.kt b/app/src/main/kotlin/dev/chungjungsoo/gptmobile/data/ModelConstants.kt index e44be0d..03dc019 100644 --- a/app/src/main/kotlin/dev/chungjungsoo/gptmobile/data/ModelConstants.kt +++ b/app/src/main/kotlin/dev/chungjungsoo/gptmobile/data/ModelConstants.kt @@ -4,7 +4,7 @@ import dev.chungjungsoo.gptmobile.data.model.ApiType object ModelConstants { // LinkedHashSet should be used to guarantee item order - val openaiModels = linkedSetOf("gpt-4o", "gpt-4-turbo", "gpt-4", "gpt-3.5-turbo") + val openaiModels = linkedSetOf("gpt-4o", "gpt-4o-mini", "gpt-4-turbo", "gpt-4") val anthropicModels = linkedSetOf("claude-3-5-sonnet-20240620", "claude-3-opus-20240229", "claude-3-sonnet-20240229", "claude-3-haiku-20240307") val googleModels = linkedSetOf("gemini-1.5-pro-latest", "gemini-1.5-flash-latest", "gemini-1.0-pro") val ollamaModels = linkedSetOf() diff --git a/app/src/main/kotlin/dev/chungjungsoo/gptmobile/util/MapStringResources.kt b/app/src/main/kotlin/dev/chungjungsoo/gptmobile/util/MapStringResources.kt index 470cb1e..b1ec71e 100644 --- a/app/src/main/kotlin/dev/chungjungsoo/gptmobile/util/MapStringResources.kt +++ b/app/src/main/kotlin/dev/chungjungsoo/gptmobile/util/MapStringResources.kt @@ -44,9 +44,9 @@ fun getPlatformHelpLinkResources(): Map = mapOf( fun generateOpenAIModelList(models: LinkedHashSet) = models.mapIndexed { index, model -> val (name, description) = when (index) { 0 -> stringResource(R.string.gpt_4o) to stringResource(R.string.gpt_4o_description) - 1 -> stringResource(R.string.gpt_4_turbo) to stringResource(R.string.gpt_4_turbo_description) - 2 -> stringResource(R.string.gpt_4) to stringResource(R.string.gpt_4_description) - 3 -> stringResource(R.string.gpt_3_5_turbo) to stringResource(R.string.gpt_3_5_description) + 1 -> stringResource(R.string.gpt_4o_mini) to stringResource(R.string.gpt_4o_mini_description) + 2 -> stringResource(R.string.gpt_4_turbo) to stringResource(R.string.gpt_4_turbo_description) + 3 -> stringResource(R.string.gpt_4) to stringResource(R.string.gpt_4_description) else -> "" to "" } APIModel(name, description, model) diff --git a/app/src/main/res/values-ko-rKR/strings.xml b/app/src/main/res/values-ko-rKR/strings.xml index e7649ee..814d98b 100644 --- a/app/src/main/res/values-ko-rKR/strings.xml +++ b/app/src/main/res/values-ko-rKR/strings.xml @@ -22,6 +22,7 @@ OpenAI 모델 선택 OpenAI 채팅 모델을 선택해 주세요. 멀티모달 모델을 선택하더라도, 현재 텍스트 입력만 지원합니다. 가장 빠르고 합리적인 가격의 플래그십 모델입니다. + 빠르고 가벼운 작업을 위한 경제적이고 지능적인 소형 모델 "GPT-4보다 3배 저렴하고 안정성이 뛰어납니다. " 추상적인 문제 해결에 가장 뛰어납니다. "간단한 작업을 위한 빠르고 저렴한 모델입니다. " @@ -115,4 +116,14 @@ Ollama 설정 Ollama 모델을 선택해 주세요. 현재 Ollama에서 지원하는 모델과 태그가 너무 많으므로, 직접 모델 값을 설정할 수도 있습니다. 입력한 Endpoint에서 해당 모델이 실행되고 있는지 꼭 확인해주세요. 실행되고 있지 않은 모델을 입력시, 답변 생성 시에 오류가 발생할 수 있습니다. 초기화 + 사용자 지정 + 직접 모델 값을 설정하세요. + 모델 이름 + 예시) llama3.2, llava, llama3:latest, … + API가 지원하는 이름을 입력해야 정상 작동합니다. + API 주소 입력 + 포트번호를 포함하여 API 주소를 입력하세요. 이 앱은 v1/chat/completions 엔드포인트를 사용하기에, 주소의 앞부분만 입력하세요. 주소는 끝에 \'/\'로 끝나야 합니다. 예시) http://192.168.1.100:11434/ + Ollama API 주소 + Ollama API 키 + URL이 \'/\'로 끝나야 합니다. \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 4851b1d..224a485 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -27,13 +27,13 @@ Select OpenAI Chat Model Please select the OpenAI chat model. Even if the selected model is multimodal, the app currently supports text inputs only. May be supported later in the future. GPT-4o + GPT-4o mini GPT-4 Turbo GPT-4 - GPT-3.5 Turbo The fastest and most affordable flagship model. + Affordable and intelligent small model for fast, lightweight tasks Decent reliability, 3x cheaper than GPT-4. Performs the best at solving abstract problems. - A fast, inexpensive model for simple tasks. Select Anthropic Chat Model Please select the Anthropic chat model. We currently support the Claude 3 family of models with only text inputs. Claude 3.5 Sonnet @@ -148,9 +148,9 @@ e.g. llama3.2, llava, llama3:latest, … Note that the model name should be supported by the api. Enter API Address - Please enter the address of your Ollama API including the port number. The app will be using /api/chat endpoint, so please enter only the front part of the full address. The address must end with a \'/\'. + Please enter the address of your Ollama API including the port number. The app will be using v1/chat/completions endpoint, so please enter only the front part of the full address. The address must end with a \'/\'. e.g) http://192.168.1.100:11434/ Ollama API Address - https://github.com/ollama/ollama/blob/main/docs/api.md + https://ollama.com/blog/openai-compatibility Reset Ollama API Key The url must end with a \'/\'.