steamship.experimental.package_starters namespace#
Submodules#
steamship.experimental.package_starters.telegram_agent module#
- class steamship.experimental.package_starters.telegram_agent.TelegramAgentService(incoming_message_agent: Agent, **kwargs)[source]#
Bases:
SteamshipWidgetAgentService
,ABC
- config: TelegramBotConfig#
- instance_init()[source]#
This instance init method is called automatically when an instance of this package is created. It registers the URL of the instance as the Telegram webhook for messages.
- respond(**kwargs) InvocableResponse[str] [source]#
Endpoint implementing the Telegram WebHook contract. This is a PUBLIC endpoint since Telegram cannot pass a Bearer token.
- telegram_transport: TelegramTransport#
steamship.experimental.package_starters.telegram_bot module#
- class steamship.experimental.package_starters.telegram_bot.TelegramBot(**kwargs)[source]#
Bases:
SteamshipWidgetBot
,ABC
- config: TelegramBotConfig#
- instance_init()[source]#
This instance init method is called automatically when an instance of this package is created. It registers the URL of the instance as the Telegram webhook for messages.
- respond(**kwargs) InvocableResponse[str] [source]#
Endpoint implementing the Telegram WebHook contract. This is a PUBLIC endpoint since Telegram cannot pass a Bearer token.
- telegram_transport: TelegramTransport#
steamship.experimental.package_starters.web_agent module#
- class steamship.experimental.package_starters.web_agent.SteamshipWidgetAgentService(**kwargs)[source]#
Bases:
AgentService
,ABC
- answer(**payload) List[Block] [source]#
Endpoint that implements the contract for Steamship embeddable chat widgets. This is a PUBLIC endpoint since these webhooks do not pass a token.
- steamship_widget_transport: SteamshipWidgetTransport#
steamship.experimental.package_starters.web_bot module#
- class steamship.experimental.package_starters.web_bot.SteamshipWidgetBot(**kwargs)[source]#
Bases:
PackageService
,ABC
- answer(**payload) List[Block] [source]#
Endpoint that implements the contract for Steamship embeddable chat widgets. This is a PUBLIC endpoint since these webhooks do not pass a token.
- steamship_widget_transport: SteamshipWidgetTransport#