Using AI chat bots with Weavy
With AI chat bots users can engage with an AI in real-time, making Weavy not just a platform for human-to-human interaction, but also a comprehensive tool for information retrieval, task automation, and learning.
Create bot
Before communicating with an AI through Weavy you need to create a dedicated bot user. This step ensures that the AI bot operates as a recognized entity, distinct from human users. You can create bots from your account dashboard or with a call to the Bots API.
When creating a bot user, you need to provide the following information:
uid
: A unique identifier for the bot user.name
: Display name of the bot. This is the name your users will use when @mentioning the bot.provider
: Specifies the AI provider. Must be one ofopenai
,anthropic
,gemini
, orkapa
.model
: Model the bot should use, e.g.gpt-4o-mini
for OpenAI.
Additionally you need to make sure your Weavy environment is configured with an API key for underlying AI platform.
For details on available models, and how to obtain API keys for authentication, we recommend visiting the developer docs for respective supported platform:
Interact with bot
To effectively utilize a bot in Weavy, the bot must first be notified that its presence is required. To engage the bot within a comment, post or message, users must mention the bot by typing @ followed by the bot's name.
The need to mention the bot for activation allows for a controlled use of the bot's capabilities, making it an efficient participant in discussions where its input is relevant.
One exception exists, in a private chat with a bot, a user can engage directly with the bot without mentioning it. This is akin to chatting with another person, where messages are exchanged seamlessly between the user and the bot. The direct nature of this interaction allows for a more personalized experience, enabling the bot to provide tailored responses, support, and assistance based on the user's immediate needs and queries.
Troubleshooting
If your interactions with the bot is not working it usually comes down to one of these things:
- Weavy has not been configured with a valid API key for the AI platform.
- The bot user was configured with an invalid or unsupported
model
. - The bot does not have permission to respond. This can happen if the bot user does not have
write
access in the app where you interacted. See apps and permissions.