Chat SDK now supports Velt with the new vendor-official adapter.
Build bots that read and reply within Velt comment threads, right where your team already works: documents, text editors, and canvases. Tag the bot, and it will answer in the same thread, grounding its reply with the document name, URL, and anchored text.
import { Chat } from "chat";
import { createVeltAdapter } from "@veltdev/chat-sdk-adapter";
const bot = new Chat({
userName: "mybot",
adapters: {
velt: createVeltAdapter(),
},
});
bot.onNewMention(async (thread, message) => {
await thread.post(`You said: ${message.text}`);
});
Configure the adapter to respond to @-mentions in Velt documents
The adapter maps Velt documents to Chat SDK channels, comment annotations to threads, and individual comments to messages.
Read the Velt documentation to get started.
The Complete Guide to Chat SDK
0 Comments
Log in to join the conversation.No comments yet. Be the first to share your thoughts.