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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file sahayakAI-0.0.1.tar.gz.

File metadata

  • Download URL: sahayakAI-0.0.1.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for sahayakAI-0.0.1.tar.gz
Algorithm Hash digest
SHA256 c6d11df97a3fe8f94752b538a0105427fa9ba4d076a581b698fbfa8b36b7a217
MD5 9ce652fa742c7ec2816d327a49f465a0
BLAKE2b-256 e9835c5c044a8bf2a033461e8bc79009da28882da8742ce0b73ad8a6b4bc6ca3

See more details on using hashes here.

File details

Details for the file sahayakAI-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: sahayakAI-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for sahayakAI-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 efe734cc80fc7efe0a9787e0e4ca78e7bf984cf87b73e76befb54cc65dd326f8
MD5 8afd0ddf09d1977dec9c7d2d0933693c
BLAKE2b-256 0940a45d3ed5b7ea4ba0194d2c0604ad930775e3d654b8923868dda56f8eb4c8

See more details on using hashes here.

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