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

feat: Telegram integration #109

Open
1 task
cvauclair opened this issue Nov 14, 2024 · 0 comments
Open
1 task

feat: Telegram integration #109

cvauclair opened this issue Nov 14, 2024 · 0 comments
Assignees
Labels
plugin Integration of third party tool or service (Discord, Twitter, ..)
Milestone

Comments

@cvauclair
Copy link
Contributor

cvauclair commented Nov 14, 2024

  • I have looked for existing issues (including closed) about this

Feature Request

Add a Telegram integration crate to easily create Telegram bots from Rig Agents.

Motivation

One of the main use cases of LLMs is to create special purpose chatbots. Although Rig currently provides the building blocks necessary to create chatbots with custom sources of context and tools, Rig is limited in it's support for the deployment of these chatbots. Telegram is a popular chat platform used by many communities which supports bots as first class citizens. It is therefore a natural target for deploying Rig agents.

Proposal

Create a new companion crate rig-telegram which provides a generic telegram bot struct TelegramBot<T: Chat> (name not final). The struct should work for any type that implements the Chat trait defined in rig-core, thus providing an out-of-the-box way for developers to deploy their custom Rig Agents as Telegram bots.

Inspiration / reference

rig-core/cli_chatbot

The companion crate should use the teloxide crate, which provides full Telegram bot API support in Rust.

Alternatives

None considered at this moment.

@mateobelanger mateobelanger added the plugin Integration of third party tool or service (Discord, Twitter, ..) label Dec 5, 2024
@cvauclair cvauclair added this to the v0.7 milestone Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin Integration of third party tool or service (Discord, Twitter, ..)
Projects
None yet
Development

No branches or pull requests

3 participants