Skip to content

Commit

Permalink
v0.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
cogentapps committed Apr 15, 2023
1 parent 943bca2 commit eb58d90
Show file tree
Hide file tree
Showing 118 changed files with 5,773 additions and 2,459 deletions.
14 changes: 10 additions & 4 deletions app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "chat-with-gpt",
"version": "0.2.2",
"version": "0.2.3",
"dependencies": {
"@auth0/auth0-spa-js": "^2.0.4",
"@chengsokdara/use-whisper": "^0.2.0",
Expand All @@ -12,6 +12,7 @@
"@mantine/modals": "^5.10.5",
"@mantine/notifications": "^5.10.5",
"@mantine/spotlight": "^5.10.5",
"@msgpack/msgpack": "^3.0.0-beta2",
"@reduxjs/toolkit": "^1.9.3",
"@svgr/webpack": "^6.5.1",
"broadcast-channel": "^4.20.2",
Expand All @@ -20,9 +21,9 @@
"expiry-set": "^1.0.0",
"idb-keyval": "^6.2.0",
"jshashes": "^1.0.8",
"lib0": "^0.2.73",
"localforage": "^1.10.0",
"match-sorter": "^6.3.1",
"mic-recorder-to-mp3": "^2.2.2",
"minisearch": "^6.0.1",
"natural": "^6.2.0",
"openai": "^3.2.1",
Expand All @@ -42,15 +43,20 @@
"sentence-splitter": "^4.2.0",
"slugify": "^1.6.5",
"sort-by": "^0.0.2",
"url": "^0.11.0",
"uuid": "^9.0.0",
"web-vitals": "^2.1.4"
"web-vitals": "^2.1.4",
"workerize-loader": "^2.0.2",
"y-indexeddb": "^9.0.9",
"y-protocols": "^1.0.5",
"yjs": "^13.5.50"
},
"overrides": {
"@svgr/webpack": "$@svgr/webpack"
},
"scripts": {
"start": "craco start",
"build": "GENERATE_SOURCEMAP=false craco build",
"build": "craco build",
"test": "craco test",
"eject": "craco eject",
"extract": "formatjs extract 'src/**/*.ts*' --ignore='**/*.d.ts' --out-file public/lang/en-us.json --id-interpolation-pattern '[sha512:contenthash:base64:6]'"
Expand Down
1 change: 1 addition & 0 deletions app/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
height: 90vh;
}
</style>
<script> window.AUTH_PROVIDER = "local"; </script>
</head>

<body>
Expand Down
55 changes: 27 additions & 28 deletions app/public/lang/en-us.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"+G35mR": {
"defaultMessage": "Open sidebar"
},
"+H2Qtw": {
"defaultMessage": "Show quick settings below message input"
},
"+LMWDJ": {
"defaultMessage": "Chat History",
"description": "Heading for the chat history screen"
Expand All @@ -27,9 +30,6 @@
"3T9nRn": {
"defaultMessage": "Your API key is stored only on this device and never transmitted to anyone except OpenAI."
},
"4I+enA": {
"defaultMessage": "GPT 4 (requires invite)"
},
"5sg7KC": {
"defaultMessage": "Password"
},
Expand All @@ -56,8 +56,8 @@
"defaultMessage": "Save changes",
"description": "Label for a button that appears when the user is editing the text of one of their messages, to save the changes"
},
"CJwO9s": {
"defaultMessage": "GPT 3.5 Turbo (default)"
"E4+fv5": {
"defaultMessage": "Auto-scroll to the bottom of the page when opening a chat"
},
"FEzBCd": {
"defaultMessage": "Untitled",
Expand All @@ -70,16 +70,15 @@
"HyS0qp": {
"defaultMessage": "Close sidebar"
},
"JpZMMj": {
"defaultMessage": "Voice",
"description": "Heading for the setting that lets users choose an ElevenLabs text-to-speech voice, on the settings screen"
},
"KKa5Br": {
"defaultMessage": "Give ChatGPT a realisic human voice by connecting your ElevenLabs account (preview the available voices below). <a>Click here to sign up.</a>"
},
"L5s+z7": {
"defaultMessage": "OpenAI API key usage is billed at a pay-as-you-go rate, separate from your ChatGPT subscription."
},
"LHOuNA": {
"defaultMessage": "Auto-scroll while generating a response"
},
"MI5gZ+": {
"defaultMessage": "Download SVG"
},
Expand Down Expand Up @@ -110,44 +109,45 @@
"defaultMessage": "Sign in <h>to sync</h>",
"description": "Label for sign in button, indicating the purpose of signing in is to sync your data between devices"
},
"T8gKkC": {
"defaultMessage": "Delete this chat"
},
"Tgo3vj": {
"defaultMessage": "Edit",
"description": "Label for the button the user can click to edit the text of one of their messages"
},
"VL24Xt": {
"defaultMessage": "Search your chats"
},
"WOuVxP": {
"defaultMessage": "Model",
"description": "Heading for the setting that lets users choose a model to interact with, on the settings screen"
},
"Xzm66E": {
"defaultMessage": "Connect your OpenAI account to get started"
},
"Y0tGn6": {
"defaultMessage": "Or sign in to an existing account",
"description": "Label for a button on the Create Account page that lets the user sign into their existing account instead"
},
"aR9WsJ": {
"defaultMessage": "UI Settings",
"description": "Heading for the setting that lets users customize various UI elements"
},
"bIacvz": {
"defaultMessage": "Chat with GPT - Unofficial ChatGPT app",
"description": "HTML title tag"
},
"cAtzqn": {
"defaultMessage": "System Prompt",
"description": "Heading for the setting that lets users customize the System Prompt, on the settings screen"
},
"cmcjSh": {
"defaultMessage": "Preview voice",
"description": "Label for the button that plays a preview of the selected ElevenLabs text-to-speech voice"
},
"f/hGIY": {
"defaultMessage": "Hello, how can I help you today?",
"description": "A friendly message that appears at the start of new chat sessions"
},
"gNu/AE": {
"defaultMessage": "Show microphone button in message input"
},
"gzJlXS": {
"defaultMessage": "Share",
"description": "Label for a button which shares the text of a chat message using the user device's share functionality"
},
"h9+jXQ": {
"defaultMessage": "The System Prompt is an invisible message inserted at the start of the chat and can be used to give ChatGPT information about itself and general guidelines for how it should respond. The <code>'{{ datetime }}'</code> tag is automatically replaced by the current date and time (use this to give the AI access to the time)."
},
"hJZwTS": {
"defaultMessage": "Email address"
},
Expand Down Expand Up @@ -186,16 +186,9 @@
"defaultMessage": "User",
"description": "Label that is shown above messages written by the user (as opposed to the AI) for publicly shared conversation (third person, formal)."
},
"sPtnbA": {
"defaultMessage": "The System Prompt is shown to ChatGPT by the &quot;System&quot; before your first message. The <code>'{{ datetime }}'</code> tag is automatically replaced by the current date and time."
},
"ss6kle": {
"defaultMessage": "Reset to default"
},
"sskUPZ": {
"defaultMessage": "Your ElevenLabs Text-to-Speech API Key (optional)",
"description": "Heading for the ElevenLabs API key setting on the settings screen"
},
"tZdXp/": {
"defaultMessage": "The temperature parameter controls the randomness of the AI's responses. Lower values will make the AI more predictable, while higher values will make it more creative."
},
Expand All @@ -207,6 +200,12 @@
"defaultMessage": "Customize system prompt",
"description": "Label for the button that opens a modal for customizing the 'system prompt', a message used to customize and influence how the AI responds."
},
"xXbJso": {
"defaultMessage": "Sign out"
},
"xqpqZE": {
"defaultMessage": "Your Elevenlabs API Key"
},
"y1F8Hs": {
"defaultMessage": "Your OpenAI API Key",
"description": "Heading for the OpenAI API key setting on the settings screen"
Expand Down
173 changes: 0 additions & 173 deletions app/src/backend.ts

This file was deleted.

Loading

0 comments on commit eb58d90

Please sign in to comment.