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 consists 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 analysis, translation, PII, etc.
- Informer: Send analyzed data to various destinations like ticketing platforms, data storage, dataframe, etc so that the user can take further actions and perform analysis on the data.
All the Observers can store their state in databases (Sqlite, Postgres, MySQL, etc.), making Obsei suitable for scheduled jobs or serverless applications.
- Text, Image, Audio, Documents and Video oriented workflows
- Collect data from every possible private and public channels
- Add every possible workflow to an AI downstream application to automate manual cognitive workflows
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, sign up issue, delivery issue, etc.
- Extraction of deeper insight from feedbacks on various platforms
- Market research
- Creation of dataset for various AI tasks
- Many more based on creativity 💡
Install the following (if not present already) -
- Install Python 3.7+
- Install PIP
You can install Obsei either via PIP or Conda based on your preference. To install latest released version -
pip install obsei[all]
Install from master branch (if you want to try the latest features) -
git clone https://github.com/obsei/obsei.git
cd obsei
pip install --editable .[all]
Note: all
option will install all the dependencies which might not be needed for your workflow, alternatively
following options are available to install minimal dependencies as per need -
pip install obsei[source]
: To install dependencies related to all observerspip install obsei[sink]
: To install dependencies related to all informerspip install obsei[analyzer]
: To install dependencies related to all analyzers, it will install pytorch as wellpip install obsei[twitter-api]
: To install dependencies related to Twitter observerpip install obsei[google-play-scraper]
: To install dependencies related to Play Store review scrapper observerpip install obsei[google-play-api]
: To install dependencies related to Google official play store review API based observerpip install obsei[app-store-scraper]
: To install dependencies related to Apple App Store review scrapper observerpip install obsei[reddit-scraper]
: To install dependencies related to Reddit post and comment scrapper observerpip install obsei[reddit-api]
: To install dependencies related to Reddit official api based observerpip install obsei[pandas]
: To install dependencies related to TSV/CSV/Pandas based observer and informerpip install obsei[google-news-scraper]
: To install dependencies related to Google news scrapper observerpip install obsei[facebook-api]
: To install dependencies related to Facebook official page post and comments api based observerpip install obsei[atlassian-api]
: To install dependencies related to Jira official api based informerpip install obsei[elasticsearch]
: To install dependencies related to elasticsearch informerpip install obsei[slack-api]
:To install dependencies related to Slack official api based informer
You can also mix multiple dependencies together in single installation command. For example to install dependencies Twitter observer, all analyzer, and Slack informer use following command -
pip install obsei[twitter-api, analyzer, slack-api]
Expand the following steps and create a workflow -
Step 1: Configure Source/Observer
Step 2: 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 3: Configure Sink/Informer
Step 4: Join and create workflow
source
will fetch data from the selected source, then feed it to the analyzer
for processing, whose output we feed into a 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 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 5: Execute workflow
Copy the code snippets from Steps 1 to 4 into a python file, for exampleexample.py
and execute the following command -
python example.py
We have a minimal streamlit based UI that you can use to test Obsei.
(Note: Sometimes the Streamlit demo might not work due to rate limiting, use the docker image (locally) in such cases.)
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 sign ups and cloud hosting required), refer to this repo.
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.
- Oraika: Contextually understand customer feedback
- 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
- Utilize: No-code app builder for businesses with a deskless workforce
Sr. No. | Title | Author |
---|---|---|
1 | AI based Comparative Customer Feedback Analysis Using Obsei | Reena Bapna |
2 | LinkedIn App - User Feedback Analysis | Himanshu Sharma |
For detailed installation instructions, usages and examples, refer to our documentation.
Linux | Mac | Windows | Remark | |
---|---|---|---|---|
Tests | ✅ | ✅ | ✅ | Low Coverage as difficult to test 3rd party libs |
PIP | ✅ | ✅ | ✅ | Fully Supported |
Conda | ❌ | ❌ | ❌ | Not Supported |
Discussion about Obsei can be done at community forum
Refer releases for changelogs
For any security issue please contact us via email
This project is being maintained by Oraika Technologies. Lalit Pagaria and Girish Patel are maintainers of this project.
- Copyright holder: Oraika Technologies
- 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.
This could not have been possible without these open source softwares.
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