Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
li-yechao opened this issue May 20, 2023 · 2 comments
Assignees

Comments

@li-yechao
Copy link
Contributor

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

@li-yechao li-yechao self-assigned this May 20, 2023
@li-yechao
Copy link
Contributor Author

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

@mave99a
Copy link

mave99a commented May 20, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants