move config to a typescript file, add option for chatCompletionConfig

Now we can write code inside config,
which allows us to send current time to the OpenAI api
inside system message!

Example config updated accordingly
This commit is contained in:
Wroclaw 2023-03-24 15:44:22 +01:00
parent 960c340760
commit 4f4b708ba5
5 changed files with 39 additions and 14 deletions

2
.gitignore vendored
View file

@ -1,3 +1,3 @@
dist
node_modules
src/config.json
src/config.*