HelloPrompt

Helloprompt

Typer_Body / HelloPrompt
Plugin251 downloadsEvent Listener1integrationdeveloper

Prompt Plugin Marketplace Example

Helloprompt

This plugin provides a template for prompt plugin distribution. You can modify the content in the following code snippet located at HelloPrompt/components/event_listener/prompt.py to implement your prompt writing:

prompt = message.Message(
    role="system",
    content=f'You are a helpful assistant.',
)
event_context.event.default_prompt.append(prompt)
prompt = message.Message(
    role="system",
    content=f'This is a test.',
)
event_context.event.default_prompt.append(prompt)

Through this example, you can even implement more complex logic.

Use Helloprompt in Feishu/Lark bots, DingTalk bots, WeCom bots, WeChat bots, QQ bots, Slack bots, Discord bots, Telegram bots, LINE Bots, and Matrix Bots.

Host your bot on LangBot Cloud and connect this extension to the collaboration platforms your team already uses.

Open LangBot Cloud

Comments