Commit Graph
51 Commits
Author SHA1 Message Date
liwenrui dd13691ffb * tweak target form related stuff. 2023-07-25 16:08:20 +08:00
liwenrui 5cfcb2267d * make errors verboser. 2023-07-25 15:38:45 +08:00
liwenrui de55de302e * fix schema getting. 2023-07-25 14:54:03 +08:00
liwenrui 91a9944cc1 + prompt delete. 2023-07-25 14:31:17 +08:00
liwenrui 6906adfb6a * fix unable to generate url. 2023-07-25 13:44:04 +08:00
liwenrui a5169afd1e + link vars assembling. 2023-07-25 11:32:56 +08:00
Chenjianyu 06d7826dd7 * remove unused code. 2023-07-25 10:12:27 +08:00
Chenjianyu 9a407fbc30 * add more get object data method. 2023-07-25 09:59:56 +08:00
Chenjianyu ce95ad845c * add get product and project object data method. 2023-07-24 17:19:26 +08:00
liwenrui c417025403 * outdent. 2023-07-24 16:40:55 +08:00
liwenrui c28912bced + doc edit from prompt. 2023-07-24 16:31:52 +08:00
Chenjianyu 23bad1ab33 * compatible with php 5.4. 2023-07-24 15:35:04 +08:00
liwenrui b12b916880 * return empty when unable to find object. 2023-07-24 15:11:01 +08:00
Chenjianyu 463f8397ff * complete go testing locations. 2023-07-21 09:50:41 +08:00
Chenjianyu 399bc08717 * add a fallback for none exist demo data sources. 2023-07-20 14:21:16 +08:00
liwenrui b2d006cb43 * add changes logging to prompt actions, task #97648. 2023-07-19 13:52:48 +08:00
liwenrui 03ecd94c90 * add action config and lang for ai prompts, task #97648. 2023-07-19 13:42:20 +08:00
liwenrui 907657cb1b * create prompt actions by diffing with original prompt, task #97648. 2023-07-19 10:00:07 +08:00
liwenrui 243b27e759 * add action for prompt create / update, task #97648. 2023-07-19 09:42:24 +08:00
Chenjianyu 2060f9685d * add empty value judgment. 2023-07-18 17:27:04 +08:00
liwenrui 637132f6fd * add quick switcher and title to prompt details. 2023-07-18 10:58:02 +08:00
liwenrui 5b90d1f5da * fix unable to update prompt due to false nonunique name. 2023-07-18 09:26:43 +08:00
liwenrui 220874cd7b * tweak uniqueness error message. 2023-07-17 15:51:15 +08:00
liwenrui 1dcbc64fe2 * check unique prompt name, task #97642. 2023-07-17 15:42:25 +08:00
liwenrui fc8dfe091c * fix idiotic condition error. 2023-07-17 13:22:26 +08:00
liwenrui 5865d93e9e * refactor. 2023-07-15 10:09:58 +08:00
Chenjianyu 1073d65c89 * add basic prompt audit view. 2023-07-14 14:07:02 +08:00
liwenrui ba6228a4b3 * set ordering for prompts, bug #36538. 2023-07-14 13:36:38 +08:00
liwenrui ebea2ee345 * use is_numeric cause is_int wont work properly on strings. 2023-07-13 14:24:20 +08:00
liwenrui 78358c95e4 * make prompt active on finish. 2023-07-13 14:02:18 +08:00
liwenrui 5c7634b39a + ai prompt execute method, task #97520. 2023-07-13 10:33:34 +08:00
liwenrui bf66174a9e + ai data injection, task #97267. 2023-07-12 16:09:30 +08:00
Chenjianyu 978448675f * add publish and unpublish action for the prompt list. 2023-07-12 14:48:25 +08:00
liwenrui 05bf530d27 * refactor. 2023-07-11 16:07:37 +08:00
liwenrui 58a7976e2f + prompt entrance printing, task #96984,96985. 2023-07-11 15:34:35 +08:00
Chenjianyu c9cd289391 * make the design progress bar step more precise. 2023-07-10 15:56:55 +08:00
liwenrui dcfe10a7fa * handle empty inputs. 2023-07-10 14:28:45 +08:00
liwenrui 13f5511c4c * fix typo. 2023-07-10 13:37:11 +08:00
liwenrui 2af7ca9df8 * actually redirect to most recent object that user has access of on clicking go testing button, task #96982. 2023-07-10 13:29:27 +08:00
liwenrui c6b183b4ea * make helper functions private. 2023-07-10 10:26:02 +08:00
liwenrui b0281c6ebc * make return value of executePrompt consistent. 2023-07-10 10:22:37 +08:00
liwenrui d888309bbc + prompt execution, now able to execute prompt on object, task #96944. 2023-07-10 10:19:28 +08:00
liwenrui 7132bcad26 * add function calling capability. 2023-07-06 16:02:54 +08:00
liwenrui a310abbfe8 * make helper function static and call with static not self. 2023-07-06 15:52:12 +08:00
Chenjianyu f9f22ffcfb * remove markdown syntax for now. 2023-07-06 09:49:57 +08:00
Chenjianyu c580c312f5 * add demo data and serialize it to prompt. 2023-07-06 09:30:53 +08:00
liwenrui 3fe1c32a64 + prompt role assigning, task #95114. 2023-06-20 15:20:22 +08:00
liwenrui 589fd1bd20 + prompt creation and list, task #94381,94384. 2023-06-15 14:49:59 +08:00
liwenrui 494f896b33 * fix head comments of ai module. 2023-06-08 16:48:49 +08:00
liwenrui 3206e9383e + ai prompts list page with modules tree, task #94380,94383. 2023-06-08 16:13:44 +08:00