...
The Microsoft Bot Framework is a platform for building and connecting bots. It provides a set of services, tools, and SDKs to connect to various channels and platforms. Microsoft Bot Framework is an open-source. The Bot Framework Composer, a visual authoring canvas for developers, is also an open-source.
USSD
USSD (Unstructured Supplementary Service Data) is a core mobile technology that can be used to deliver a variety of services. The duration of a USSD session is typically limited to 90-180 seconds. This is because USSD is a real-time protocol, and the network needs to be able to release the resources that are being used by the session after a certain amount of time.
USSD messages are limited to 182 characters, which means that they cannot be used to transfer large amounts of data. Images are not supported. This makes USSD not suitable for complex transactions: USSD is not suitable for complex transactions.
When developing a USSD application, it is important to consider the duration of the sessions. You should try to keep the sessions as short as possible, while still providing the user with a good experience. In general, a session should not contain more that 10 questions (about 15 seconds per questions).
When do I use what?
The table below could be use to provide guidance on when to use what technology
RapidPro | MS Bot Framework | USSD | |
---|---|---|---|
Engagement channel | SMS, web chat, varios chat platforms: WA, FB messenger, Line, others | SMS, USSD, web chat, varios chat platforms: WA, FB messenger, Line, others | USSD |
Engagement type | Structure conversation: users follow a scripted conversation, with multiple path and starting points | Database driven: users are presented with questions that are sourced from the metadata on a system. Examples:
| Simple transactions, max 10 questions. |
Examples | Most of PSI’s bot implementation are based on structured conversations, hence they have been implemented using RapidPro | Laos: DHIS2 Malaria reporting e-Learning: Moodle Bot | DBI Malaria assessment |
RapidPro and DHIS2
A project that provides a fast development path/ integration between DHIS2 and RapidPro exist at https://github.com/dhis2/integration-dhis-rapidpro . As of June 2023, the solution enables DHIS2 users to report data on a dataset. This is a use case that rarely exist at PSI, hence we have not yet tried this library. There are plans to later enable the process of TEI registration and event creation. We should review the provided integration once this new version becomes available.
USSD
USSD (Unstructured Supplementary Service Data) is a core mobile technology that can be used to deliver a variety of services. The duration of a USSD session is typically limited to 90-180 seconds. This is because USSD is a real-time protocol, and the network needs to be able to release the resources that are being used by the session after a certain amount of time.
USSD messages are limited to 182 characters, which means that they cannot be used to transfer large amounts of data. Images are not supported. This makes USSD not suitable for complex transactions: USSD is not suitable for complex transactions.
When developing a USSD application, it is important to consider the duration of the sessions. You should try to keep the sessions as short as possible, while still providing the user with a good experience. In general, a session should not contain more that 10 questions (about 15 seconds per questions).