From f1267620be113705618d85fbec4ca633b5c43a2b Mon Sep 17 00:00:00 2001 From: Thomas Ricouard Date: Sun, 12 Mar 2023 14:53:49 +0100 Subject: [PATCH] More tweaks to the prompt --- Packages/Network/Sources/Network/OpenAIClient.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Packages/Network/Sources/Network/OpenAIClient.swift b/Packages/Network/Sources/Network/OpenAIClient.swift index 90950b30..7bb3ebb0 100644 --- a/Packages/Network/Sources/Network/OpenAIClient.swift +++ b/Packages/Network/Sources/Network/OpenAIClient.swift @@ -64,7 +64,7 @@ public struct OpenAIClient { case let .correct(input): return ChatRequest(content: "Fix the spelling and grammar mistakes in the following text: \(input)", temperature: 0.2) case let .addTags(input): - return ChatRequest(content: "Add relevant camel-cased hashtags in the following text. Don't try to search for context or add hashtags of there is not enough context: \(input)", temperature: 0.1) + return ChatRequest(content: "Replace relevant words with camel-cased hashtags in the following text. Don't try to search for context or add hashtags of there is not enough context: \(input)", temperature: 0.1) case let .insertTags(input): return ChatRequest(content: "Return the input with added camel-cased hashtags at the end of the input. Don't try to search for context or add hashtags of there is not enough context: \(input)", temperature: 0.2) case let .shorten(input):