File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ import System.Environment (getEnv)
7
7
import qualified Data.Text as T
8
8
import Data.Maybe (fromMaybe )
9
9
10
+ -- example derived from the openai-client library documentation
11
+
10
12
completionRequestToString :: String -> IO String
11
13
completionRequestToString prompt = do
12
14
manager <- newManager tlsManagerSettings
Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ description: Please see README.md
5
5
homepage : https://github.com/mark-watson/haskell_tutorial_cookbook_examples
6
6
license : Apache-2.0
7
7
license-file : ../APACHE_LICENSE-2.0.txt
8
- author : Mark watson
9
- copyright : 2023 Mark Watson
8
+ author : Mark watson and the author of OpenAI Client library Alexander Thiemann
9
+ copyright : 2024 Mark Watson
10
10
category : Web
11
11
build-type : Simple
12
12
cabal-version : >= 1.10
You can’t perform that action at this time.
0 commit comments