b45e9d9e56
fix: some multiple select style problem ( #90 )
...
* fix: some multiple style problem
* eslint
2023-05-14 13:28:54 +08:00
368ad85044
feat:set a default port when creating a connection ( #89 )
2023-05-14 11:38:27 +08:00
e0bec6732f
feat: check the title name ( #87 )
2023-05-13 17:03:02 +08:00
79d02af91c
feat: support multiple select table ( #82 )
2023-05-13 15:01:42 +08:00
d423ce7a06
fix: correct response message
2023-05-12 11:43:35 +08:00
700c4bf8d1
feat: tidb cloud serverless tier support ( #85 )
...
* feat: tidb cloud serverless tier support
* clearify: check the engine type before call the tidb connection change function
* delete: unused type declare
2023-05-12 10:39:00 +08:00
4323b19562
fix: update response body type
2023-05-09 00:37:32 +08:00
fdda5ca142
chore: update error message response
2023-05-09 00:12:36 +08:00
0840aa584a
chore: remove openai api key check temporarily
2023-05-08 23:47:54 +08:00
cd265a5c47
chore: add dark mode styles to setting page ( #83 )
2023-05-08 23:29:33 +08:00
698eff0978
chore: fix document target jump ( #81 )
2023-05-06 22:41:16 +08:00
cfbdf5cced
chore: update doc to make DATABASE_URL required
2023-05-06 01:49:15 +08:00
8e3d220d0d
chore: update doc to make DATABASE_URL required
2023-05-06 01:44:55 +08:00
5bb8a232e2
chore: re-arrange addMessage to avoid returning partial error
...
Strange I can only observe this in prod. Not in local env even using `next build && next start`
2023-05-06 00:07:51 +08:00
ab80b67521
fix: show table list only if it’s bound with a connection
2023-05-05 23:17:48 +08:00
691edcca2a
chore: delete unused import ( #80 )
2023-05-05 23:04:28 +08:00
a80b0d71ac
chore: only keep english, chinese simplified and spanish
...
We are iterating very fast, just don’t have bandwith to handle many languages at this point
2023-05-05 22:58:27 +08:00
fa2ea2ada8
chore: fix some error format in Chinese document ( #79 )
2023-05-05 22:54:38 +08:00
c8d6fafdfa
feat: account and payment ( #75 )
2023-05-05 18:56:14 +08:00
fa16f8fd48
feat: add a table select to choose a table as prompt ( #74 )
2023-05-05 16:46:29 +08:00
07a10fb5c6
feat: add a Chinese document ( #76 )
2023-05-05 16:18:13 +08:00
40e86fbdaf
fix: too many connect error ( #71 )
...
* add fetch all struct
* add other database implement
* rename method name
* adjust the order of functions
* eslint
* eslint
* eslint
* eslint
* eslint
* fix error end when fetch schema batch
2023-05-04 23:36:48 +08:00
498bf156c0
chore: update on Spanish locale file ( #73 )
...
* 🎨 style(es.json): add new keys and values for connection and assistant
🚀 chore(es.json): add new banner messages
The connection object now has new keys and values for the database type, title, host, port, database name, username, and password. The assistant object now has a new key and value for creating a new bot. The banner object now has two new messages, one for warning non-select SQL statements and another for promoting the product launch on Product Hunt.
* 🎨 style(es.json): fix typo in banner.product-hunt message
The message in banner.product-hunt contained a typo. The word "de" was removed to make the message grammatically correct.
* 🌟 feat(es.json): add new translations for edit and execute
🐛 fix(es.json): update conversation title translation
🐛 fix(es.json): add new translations for OpenAI quota overflow
The new translations for "edit" and "execute" have been added to the language file. The translation for "conversation-title" has been updated to "title" for consistency with the application. The translations for "quota-overflow" and "use-my-key" have been added to handle OpenAI quota overflow.
2023-05-03 19:22:10 +08:00
eb4cda6081
chore: reinit schema
2023-05-02 19:46:35 +08:00
5c2410cfba
fix: add model seed data
2023-05-02 17:51:04 +08:00
6ce7d9862c
chore: change USAGE_DATABASE_URL to DATABASE_URL
2023-05-02 17:47:57 +08:00
0306b10902
chore: add enduser column to record enduser info
...
Also pass the enduser info to OpenAI for abuse detection.
2023-05-02 16:51:19 +08:00
5259222b92
chore: add model info to the chat table
2023-05-02 16:22:41 +08:00
69fd60ce76
feat: refactor to consolidate usage collection
...
Also only record the current system prompt instead of recording all previous exchange.
2023-05-02 14:48:54 +08:00
2479521e8d
chore: default upvote should be false
2023-05-02 12:28:30 +08:00
00963f4bf7
fix: should only add message with DONE status
2023-05-02 12:14:45 +08:00
f3476d8d91
chore: fix error message and readable message for openai key missing
2023-05-02 01:46:06 +08:00
bf37d766bc
chore: add env var to ProcessEnv
2023-05-01 14:35:25 +08:00
fa0cbfa381
feat: Use separate /setting route page instead of modal
...
Better extensibility as we may overlay additional modal in setting
2023-04-30 23:45:05 +08:00
620ebdeb0d
chore: minor tweak
2023-04-30 14:08:12 +08:00
ea7a48a26b
chore: use prettier for project and apply to all files
2023-04-29 22:49:07 +08:00
74754e1476
refactor: move connection list into component
2023-04-28 17:20:56 +08:00
d8f1e99192
refactor: move conversation list into component
2023-04-28 17:14:47 +08:00
435e0bffeb
chore: add quota banner and wording update
2023-04-27 16:41:47 +08:00
96724709bd
chore: prevent typescript errors when building docker file
2023-04-26 23:30:51 +08:00
4f02a6f9ad
chore: use explicit prisma-build
...
This is only used for building on vercel. Since there is no prerun hook to execute migration so we have to do the migration on build time.
2023-04-25 22:15:02 +08:00
5427a7f4d1
chore: update favicon with the right scale
2023-04-25 21:13:16 +08:00
1e9b6d6ebc
chore: swap discord and product hunt banner
2023-04-25 17:49:10 +08:00
4fb4786ece
chore: remove producthunt banner
2023-04-25 17:36:49 +08:00
a0972981e2
chore: remove quota overflow banner
2023-04-25 17:35:45 +08:00
49b15d3509
feat: add clear conversation buttion
2023-04-25 15:12:36 +08:00
1562a61e5e
chore: update api key name
2023-04-25 11:43:32 +08:00
7233a50dff
feat: add auth api key header
2023-04-25 11:26:08 +08:00
daac415d35
chore: update dockerfile
2023-04-24 23:57:15 +08:00
0471e40684
feat: optimize fetch database schema ( #65 )
2023-04-24 23:11:32 +08:00