OpenOps is an open source platform for applying generative AI to workflows in secure environments.
OpenOps:
- Enables AI exploration with full data control in a multi-user pilot.
- Supports broad ecosystem of AI models from OpenAI and Microsoft to open source LLMs from Hugging Face.
- Speeds development of custom security, compliance and data custody policy from early evaluation to future scale.
Unliked closed source, vendor-controlled environments where data controls cannot be audited, OpenOps provides a transparent, open source, customer-controlled platform for developing, securing and auditing AI-accelerated workflows.
Like what you see? Please give us a star! βοΈ
Everyone is in a race to deploy generative AI solutions, but need to do so in a responsible and safe way. OpenOps lets you run powerful models in a safe sandbox to establish the right safety protocols before rolling out to users. Here's an example of an evaluation, implementation, and iterative rollout process:
-
Phase 1: Set up the OpenOps collaboration sandbox, a self-hosted service providing multi-user chat and integration with GenAI. (this repository)
-
Phase 2: Evaluate different GenAI providers, whether from public SaaS services like OpenAI or local open source models, based on your security and privacy requirements.
-
Phase 3: Invite select early adopters (especially colleagues focusing on trust and safety) to explore and evaluate the GenAI based on their workflows. Observe behavior, and record user feedback, and identify issues. Iterate on workflows and usage policies together in the sandbox. Consider issues such as data leakage, legal/copyright, privacy, response correctness and appropriateness as you apply AI at scale.
-
Phase 4: Set and implement policies as availability is incrementally rolled out to your wider organization.
Deploying the OpenOps sandbox includes the following components:
- π° Mattermost Server - Open source, self-hosted alternative to Discord and Slack for strict security environments with playbooks/workflow automation, tools integration, real time 1-1 and group messaging, audio calling and screenshare.
- π PostgreSQL - Database for storing private data from multi-user, chat collaboration discussions and audit history.
- π€ Mattermost AI plugin - Extension of Mattermost platform for AI bot and generative AI integration.
- π¦ Open Source, Self-Hosted LLM models - Models for evaluation and use case development from Hugging Face and other sources, including GPT4All (runs on a laptop in 4.2 GB) and Falcon LLM (example of leading scaled self-hosted models). Uses LocalAI.
- ππ§ (Configurable) Closed Source, Vendor-Hosted AI models - SaaS-based GenAI models from Azure AI, OpenAI, & Anthropic.
- ππ± (Configurable) Mattermost Mobile and Desktop Apps - End-user apps for future production deployment.
Rather watch a video? π½οΈ Check out our YouTube tutorial video for getting started with OpenOps: https://www.youtube.com/watch?v=20KSKBzZmik
Rather read a blog post? π Check out our Mattermost blog post for getting started with OpenOps: https://mattermost.com/blog/open-source-ai-framework/
- Clone the repository:
git clone https://github.com/mattermost/openops && cd openops
- Start docker services and configure plugin
- If using OpenAI:
- Run
env backend=openai ./init.sh
- Run
./configure_openai.sh sk-<your openai key>
to add your API credentials or use the Mattermost system console to configure the plugin
- Run
- If using LocalAI:
- Run
env backend=localai ./init.sh
- Run
env backend=localai ./download_model.sh
to download one or supply your own ggml formatted model in themodels
directory.
- Run
- If using OpenAI:
- Access Mattermost and log in with the credentials provided in the terminal.
When you log in, you will start out in a direct message with your AI Assistant bot. Now you can start exploring AI usages.
- Click the above badge and start your Gitpod workspace
- You will see VSCode interface and the workspace will configure itself automatically. Wait for the services to start and for your
root
login for Mattermost to be generated in the terminal - Run
./configure_openai.sh sk-<your openai key>
to add your API credentials or use the Mattermost system console to configure the plugin - Access Mattermost and log in with the credentials supplied in the terminal.
When you log in, you will start out in a direct message with your AI Assistant bot. Now you can start exploring AI usages.
There many ways to integrate generative AI into confidential, self-hosted workplace discussions. To help you get started, here are some examples provided in OpenOps:
Title | Image | Description |
---|---|---|
Streaming Conversation | The OpenOps platform reproduces streamed replies from popular GenAI chatbots creating a sense of responsiveness and conversational engagement, while masking actual wait times. | |
Thread Summarization | Use the "Summarize Thread" menu option or the /summarize command to get a summary of the thread in a Direct Message from an AI bot. AI-generated summaries can be created from private, chat-based discussions to speed information flows and decision-making while reducing the time and cost required for organizations to stay up-to-date. |
|
Contextual Interrogation | Users can ask follow-up questions to discussion summaries generated by AI bots to learn more about the underlying information without reviewing the raw input. | |
Meeting Summarization | Create meeting summaries! Designed to work with the Mattermost Calls plugin recording feature. | |
Chat with AI Bots | End users can interact with the AI bot in any discussion thread by mentioning AI bot with an @ prefix, as they would get the attention of a human user. The bot will receive the thread information as context for replying. |
|
Sentiment Analysis | Use the "React for me" menu option to have the AI bot analyze the sentiment of messages use its conclusion to deliver an emoji reaction on the userβs behalf. | |
Reinforcement Learning from Human Feedback | Bot posts are distinguished from human posts by having π π icons available for human end users to signal whether the AI response was positive or problematic. The history of responses can be used in future to fine-tune the underlying AI models, as well as to potentially evaluate the responses of new models based on their correlation to positive and negative user ratings for past model responses. |
- OpenOps General Discussion on Mattermost Forum
- OpenOps Troubleshooting Discussion on Mattermost Forum
- OpenOps Q&A on Mattermost Forum
- OpenOps "AI Exchange" channel on Mattermost Community server (for Mattermost community interested in AI)
- OpenOps Discord Server (for AI community interested in Mattermost)
- Mattermost Troubleshooting Discussion on Mattermost Forum
- Mattermost "Peer-to-peer Help" channel on Mattermost Community server
Thank you for your interest in contributing to our open source project! β€οΈ To get started, please read the contributor guidelines for this repository.
This repository is licensed under Apache-2.