Note: Obsei is still in alpha stage hence carefully use it in Production. Also, as it is constantly undergoing development hence master branch may contain many breaking changes. Please use released version.
Obsei (pronounced "Ob see" | /əb-'sē/) is an open-source low-code AI powered automation tool. Obsei consist of -
- Observer, collect unstructured data from various sources like tweets from Twitter, Subreddit comments on Reddit, page post's comments from Facebook, App Stores reviews, Google reviews, Amazon reviews, News, Website, etc.,
- Analyzer, analyze unstructured data collected with various AI tasks like classification, sentiment, translation, PII, etc.
- Informer, send analyzed data to various destinations like ticketing platforms, data storage, dataframe, etc. So user can take further action and perform analysis on the data.
All Observers have can store state in database (Sqlite, Postgres, MySQL, etc.), which making Obsei suitable for scheduled jobs or serverless applications.
Future direction -
- Text, Image, Audio, Documents and Video oriented workflows
- Collect data from every possible private and public channels
- Add each possible to AI piece which can automate manual cognitive workflows
Introduction and demo video
Use cases
Obsei use cases are following, but not limited to -
- Social listening: Listening about social media posts, comments, customer feedback, etc.
- Alerting/Notification: To get auto-alerts for events such as customer complaints, qualified sales leads, etc.
- Automatic customer issue creation based on customer complaints on Social Media, Email, etc.
- Automatic assignment of proper tags to tickets based content of customer complaint for example login issue, signup issue, delivery issue etc.
- Extraction of deeper insight from feedbacks on various platforms
- Market research purpose
- Creation of dataset for various AI tasks
- Many more based on creativity
💡
Companies/Projects using Obsei
Here are some companies/projects (alphabetical order) using Obsei. To add your company/project to the list, please raise a PR or contact us via email.
- 1Page: Giving a better context in meetings and calls
- Spacepulse: The operating system for spaces
- Superblog: A blazing fast alternative to WordPress and Medium
- Zolve: Creating a financial world beyond borders
Tutorials
Demo
We have a minimal streamlit based UI that you can use to test Obsei.
Watch UI demo video
Check demo at or at Demo Link
(Note: Due to rate limit sometime Streamlit demo might not work, hence please use docker image locally.)
To test locally, just run
docker run -d --name obesi-ui -p 8501:8501 obsei/obsei-ui-demo
# You can find the UI at http://localhost:8501
To run Obsei workflow easily using GitHub Actions (no signups and cloud hosting require), refer repo for more information.
Documentation
For detailed installation instructions, usages and example refer documentation.
Support and Release Matrix
| Linux | Mac | Windows1 | Remark | |
|---|---|---|---|---|
| Tests | Low Coverage as difficult to test 3rd party libs | |||
| PIP | Fully Supported | |||
| Conda2 | Partially Supported |
1 On Windows you have to install pytorch manually. Refer Pytorch official instruction.
2 Conda channel missing few dependencies, hence install missing dependencies manually -
Missing Conda dependencies -
pip install presidio-analyzer
pip install presidio-anonymizer
pip install zenpy
pip install searchtweets-v2
pip install google-play-scraper
pip install tweet-preprocessor
pip install gnews
pip install trafilatura
pip install python-facebook-apiHow to use
Expend following steps and create your workflow -
Step 1: Prerequisite
Install following if system do not have -
- Install Python 3.7+
- Install PIP (Optional if you prefer Conda)
- Install Conda (Optional if you prefer PIP)
Step 2: Install Obsei
You can install Obsei either via PIP or Conda based on your preference.
NOTE: On Windows you have to install pytorch manually. Refer https://pytorch.org/get-started/locally/
Install via PIP:
To install latest released version -
pip install obseiInstall from master branch (if you want to try the latest features):
git clone https://github.com/obsei/obsei.git
cd obsei
pip install --editable .Install via Conda:
To install latest released version -
conda install -c lalitpagaria obseiInstall from master branch (if you want to try the latest features):
git clone https://github.com/obsei/obsei.git
cd obsei
conda env create -f conda/environment.ymlFor GPU based local environment -
git clone https://github.com/obsei/obsei.git
cd obsei
conda env create -f conda/gpu-environment.ymlStep 3: Configure Source/Observer
Step 4: Configure Analyzer
Note: To run transformers in an offline mode, check transformers offline mode.
Some analyzer support GPU and to utilize pass device parameter. List of possible values of device parameter (default value auto):
- auto: GPU (cuda:0) will be used if available otherwise CPU will be used
- cpu: CPU will be used
- cuda:{id} - GPU will be used with provided CUDA device id
Step 5: Configure Sink/Informer
Step 6: Join and create workflow
source will fetch data from selected the source, then feed that to analyzer for processing, whose output we feed into sink to get notified at that sink.
# Uncomment if you want logger
# import logging
# import sys
# logger = logging.getLogger(__name__)
# logging.basicConfig(stream=sys.stdout, level=logging.INFO)
# This will fetch information from configured source ie twitter, app store etc
source_response_list = source.lookup(source_config)
# Uncomment if you want to log source response
# for idx, source_response in enumerate(source_response_list):
# logger.info(f"source_response#'{idx}'='{source_response.__dict__}'")
# This will execute analyzer (Sentiment, classification etc) on source data with provided analyzer_config
analyzer_response_list = text_analyzer.analyze_input(
source_response_list=source_response_list,
analyzer_config=analyzer_config
)
# Uncomment if you want to log analyzer response
# for idx, an_response in enumerate(analyzer_response_list):
# logger.info(f"analyzer_response#'{idx}'='{an_response.__dict__}'")
# Analyzer output added to segmented_data
# Uncomment inorder to log it
# for idx, an_response in enumerate(analyzer_response_list):
# logger.info(f"analyzed_data#'{idx}'='{an_response.segmented_data.__dict__}'")
# This will send analyzed output to configure sink ie Slack, Zendesk etc
sink_response_list = sink.send_data(analyzer_response_list, sink_config)
# Uncomment if you want to log sink response
# for sink_response in sink_response_list:
# if sink_response is not None:
# logger.info(f"sink_response='{sink_response}'")Step 7: Execute workflow
Copy code snippets from Step 3 to Step 6 into python file for exampleexample.py and execute following command -
python example.pyArticles
| Sr. No. | Title | Author |
|---|---|---|
| 1 | AI based Comparative Customer Feedback Analysis Using Obsei | Reena Bapna |
| 2 | LinkedIn App - User Feedback Analysis | Himanshu Sharma |
Discussion forum
Discussion about Obsei can be done at community forum
Upcoming release and changelog
Upcoming release plan and progress can be tracked at link (Suggestions are welcome). Refer releases for changelogs.
Security Issue
For any security issue please contact us via email
Stargazers over time
Maintainer
This project is being maintained by Lalit Pagaria.
License
- Copyright holder: Lalit Pagaria
- Overall Apache 2.0 and you can read License file.
- Multiple other secondary permissive or weak copyleft licenses (LGPL, MIT, BSD etc.) for third-party components refer Attribution.
- To make project more commercial friendly, we void third party components which have strong copyleft licenses (GPL, AGPL etc.) into the project.
Attribution
This could not have been possible without these open source software.
Contribution
First off, thank you for even considering contributing to this package, every contribution big or small is greatly appreciated. Please refer our Contribution Guideline and Code of Conduct.
Thanks so much to all our contributors






