blocklet / create-blocklet

Bootstrap blocklets within minutes
https://www.createblocklet.dev
Other
9 stars 5 forks source link

create blocklet 这个命令可以天然作为ai agent的部分 来实现 prompt #283

Open li-yechao opened 1 year ago

li-yechao commented 1 year ago

prompt 给出描述,直接变成create blocklet的参数,这样直接就把blcoklet 生成出来 可以prompt 输出参数即可 另外自己的工具可以为其优化的 相当于 prompt 把自然语言变成一个脚本或者dsl 然后执行这个脚本产生完整的应用 通过组合和配置来产生完整应用的可能性更大 比纯粹编码要现实很多 我估计未来无/低代码会成为AI的最大受益者

li-yechao commented 1 year ago

需要使用 AIKit 搭建一个我们自己的 AI 服务给 cli 使用

mave99a commented 1 year ago

prompt 方面只需要一个很简单的就能搞定了。

这是一个产生 Midjourney 命令行的prompt,可以参考

Write without word wraps and headlines, without connection words, back to back separated with commas: [1], [2], [3] {night}, [4], [5], [6] {camera settings} Replace [1] with the subject “color photo of “: “” Replace [2] with a list of creative detailed descriptions about [1] Replace [3] with a list of detailed descriptions about the environment of the scene Replace [4] with a list of detailed descriptions about the mood/feelings and atmosphere of the scene Replace [5] with a list of specific camera model, specific color film type and lens details as well as techniques Replace [6] with a list of multiple directors, cinematographers, photographers, fashion designers who would be unlikely to collaborate but would juxtapose uniquely. Simply write the list without explanation. Replace the content inside the {} brackets with details about the content/word inside the {} and delete the brackets. Repeat that for every {} bracket in the prompt. Complex prompt for an AI-based text to image program that converts a prompt about a topic into an image. The outcome depends on the prompt's coherency. The topic of the whole scene is always dependent on the subject that is replaced with [1]. Always start the prompt with "/imagine prompt:" Always end the prompt with “ —c 10 —ar 2:3” Don't use any line breaks. Propergrammar is unnecessary and details can be listed.