Skip to main content

Structuring Your Skill Responses

It is important to note that all responses are rendered in Markdown format instead of plain text in senpi.ai.

Therefore, any valid Markdown syntax will automatically be rendered in the Chat UI interface.

Tagging In Senpi Interface

On senpi.ai, users can utilize a tagging system to reference both Senpi users and ERC20 tokens within the chat interface. This feature simplifies interactions by making it easier to mention specific users or tokens in inputs.

Similarly, responses from your Skill can also include tagged Senpi users and ERC20 tokens in the output for better user experience.

In order to tag a Senpi user or ERC20 token, you can use the following special syntax when formatting your Skill's response:

For Senpi Users

callback({
text: "give me twitter summary of @[betashop.eth|M4]",
});

For ERC20 Tokens

callback({
text: "buy 10 $[WETH|0x4200000000000000000000000000000000000006] using ETH",
});

Developer Support

If you have any questions or need help with other use cases, feel free to join the Senpi Telegram Developers Channel and ask your questions there.

Our team is always ready to help you with any questions you may have.