Interactive Signature Campaign is an low-code, easily deployable platform that engages signers directly with the cause, allowing them to provide their own authentic signatures with ease.
Clicking the above image will open the demo video in YouTube.
- Interactive Chat GPT + LlamaIndex powered chat bot to answer questions regarding your campaign.
- Get signatures from your signers interactively using Dropbox Sign.
- Signed petitions delivered to your email using Dropbox Sign.
- Low code, publish your interactive signature campaign with just markdown and toml files.
- Easy one click deployment.
Interactive chat bot to answer questions on your signature campaign
Petition letter sent to the signee
Signed petition letter received by the campaign organizer
Create a template on Dropbox Sign for the petition letter
1.Python.
2.Dropbox Sign API Key.
3.Open AI Chat GPT API Key.
4.Streamlit account.
1.Clone the project.
$ git clone https://github.com/abishekmuthian/interactivesignaturecampaign.git
2.Navigate to the project and setup venv.
$ cd interactivesignaturecampaign
$ python -m venv .venv
$ pip install -r requirements.txt
3.Replace the files inside the data
folder with your campaign data.
3.a. Create index.md
with signature campaign page in markdown inside the data folder.
3.b. Add other markdown files inside the data folder to provide information to the chat bot.
3.c. Add logo.png in images
folder for favicon, header and chat bot avatar.
4.Create Dropbox Sign template by following the instructions in the video.
5.Add .streamlit/secrets.toml
6.Configuration
Key | Value | Example |
---|---|---|
openai_key | Open AI Chat GPT Key | sk-xxxxxx |
dropbox_sign_key | Dropbox Sign API Key | xxxxxx |
template_id | Template ID from Dropbox Sign | xxxxxx |
title | Title for the campaign | World Without GNE Myopathy |
email_subject | Subject for the email through which the petition would be sent to the signee | WWGM sign the petition! |
email_message | Message to be sent with the petition email | By signing this petition, you not only lend your voice to the countless individuals affected by GNE Myopathy but also champion the cause for an inclusive healthcare system in India. Together, we can pave the way for better diagnosis, treatment, and support. Stand with us in urging the Indian Government to recognize and include GNE Myopathy in its Rare Diseases Policy. |
signer_role | Role declared for signee in the the Dropbox Sign, Must be 'Signee' | Signee |
bot_spinner | Text to display when the bot is indexing data | Loading and indexing the GNE Myopathy faqs from WWGM – hang tight! This should take 1-2 minutes. |
bot_intro | Intro message displayed by the bot | Ask me a question about this campaign and GNE Myopathy! |
bot_context | System context for the bot for better accuracy of the answers | You are an expert on the GNE Myopathy and your job is to answer health questions. Assume that all questions are related to the GNE Myopathy. Keep your answers medical and based on facts – do not hallucinate diseases. |
7.Run the app using streamlit.
$ streamlit run streamlit_app.py
- Click deploy on the top right and follow the on screen instructions to deploy the app on streamlit community cloud.
- Copy your secrets
./streamlit/secrets.toml
from to streamlit's secrets section.
The MIT License (MIT)
Copyright (c) 2023 ABISHEK MUTHIAN(Interactive Signature Campaign)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.