Skip to main content

Sahayak toolkit for India specif use cases

Project description

# SahayakAI Using AI to solve some of the India specific problems

## Design You can see the high level design in this [Miro Board](https://miro.com/app/board/uXjVM61FLNk=/?share_link_id=389475655874)

## Demo <img src=”demo.gif” width=”350” height=”400”/>

## Installation

Step 1: Create a python virtual environment. We recommend using either anaconda or venv.

Create and activate virtual environment using anaconda:

` conda create --name sahayakAI python=3.10 conda activate sahayakAI `

Create and activate virtual environment using venv:

` virtualenv -p <path/to.python> <your_env_name> source <your_env_name>/bin/activate `

Step 2: After creating and activating the virtual environment, we need to install all the dependencies:

` pip install -r requirements.txt `

## Usage Step 1: Create a telegram bot

Step 2: Set the TELEGRAM_BOT_TOKEN as an environment variable or inside sahayak/common/config.yaml

Step 3: Set your OPENAI_API_KEY as an environment variable or inside sahayak/common/config.yaml

Step 4: Set your RAPID_API_KEY as an environment variable or inside sahayak/rahiAI/config.yaml

Step 5: Run the telegram bot using the below command:

` python bot.py `

## TODO Tasks - Update README - Add unit tests - Integrate Langchain and deprecate Simpleaichat - Proper error/exception handling

## Key Contributors - Abhijeet Dubey - Abhishek Bagade - Nithin Sethumadhavan - Vineet Singh

## References 1. https://github.com/minimaxir/simpleaichat

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sahayakAI-0.0.1.tar.gz (5.4 kB view hashes)

Uploaded Source

Built Distribution

sahayakAI-0.0.1-py3-none-any.whl (6.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page