Giter Club home page Giter Club logo

interactivesignaturecampaign's Introduction

Interactive Signature Campaign

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.

Demo Video

Interactive Signature Campaign powered by Dropbox Sign

Clicking the above image will open the demo video in YouTube.

Demo

WWGM GNE Myopathy Campaign

Features

  • 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.

Screenshots

Signature campaign page World Without Myopathy GNE Myopathy signature campaign

Interactive chat bot to answer questions on your signature campaign Interactive chat bot

Interactive chat bot

Interactive chat bot

Petition letter sent to the signee Petition letter sent to the signee

Powered by Dropbox Sign

Signee can sign in real-time Signee can sign in real-time

Signed petition letter received by the campaign organizer Signed petition letter received by the campaign organizer

Create a template on Dropbox Sign for the petition letter Create template on Dropbox Sign

Copy the template ID Create template on Dropbox Sign

Requirements

1.Python.

2.Dropbox Sign API Key.

3.Open AI Chat GPT API Key.

4.Streamlit account.

Setup

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

Deployment

  1. Click deploy on the top right and follow the on screen instructions to deploy the app on streamlit community cloud.

Click on the deploy button to deploy

  1. Copy your secrets ./streamlit/secrets.toml from to streamlit's secrets section.

LICENSE

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.

interactivesignaturecampaign's People

Contributors

abishekmuthian avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.