This repository provides an overview of BLAB (BLue Amazon Brain) and its components. BLAB has not been deployed to production at the time of writing, but its source is available and you can install some or all of its components on your PC or server.
BLAB Portal is a website that provides access to chatbots and other services. Its repository is BLAB Front-end, and it was developed with React Framework. See README.md in that repository for installation instructions.
Currently, BLAB consists of three services:
- BLAB-Chat
- BLAB-Reporter
- BLAB-Wiki
BLAB is managed by a central controller, BLAB Controller, developed in Python. The controller is a web server that receives user requests, executes the appropriate actions using several BLAB components and returns the results. See the file INSTALL.md for installation instructions.
The controller contains two basic bots (ECHO and Calculator) for demonstration purposes:
- ECHO, which echoes every message in upper case;
- Calculator, which evaluates the result of simple arithmetic expressions.
In order to integrate other bots, see these instructions.
We have written the intermediate layers to integrate BLAB Controller with a few answerers.
Service/Framework | Description | BLAB client | Requirements |
---|---|---|---|
IBM Watson Assistant | "Watson Assistant is a platform built for business users, so your teams can design, deploy and manage conversational AI" [definition source] [documentation] | Watson Assistant bot for BLAB | IBM credentials |
DEEPAGÉ | DEEPAGÉ is a set of “QA systems that combine in novel ways the BM25 algorithm, a sparse retrieval technique, with PTT5, a pre-trained state-of-the-art language model” to answer “questions in Portuguese about the Brazilian Environment” [paper] [preprint] | DEEPAGÉ bot for BLAB | trained model and corpus data |
Haystack | “Haystack is an open-source framework for building search systems that work intelligently over large document collections” [definition source] [documentation] | Haystack bot for BLAB | trained model and corpus data |
Rasa | Rasa is “open source framework for building chat and voice-based AI assistants” [documentation] | Rasa bot for BLAB | model and local endpoint |
OpenAI models | OpenAI models “are advanced language processing tools that can generate, classify, and summarize text with high levels of coherence and accuracy” “using a technology called deep learning, which leverages large amounts of data to train an AI system” [definition source] [documentation] | OpenAI bot for BLAB | OpenAI credentials |
If you want to integrate other bots with BLAB, see this generic example.
BLAB Reporter is an application that collects data related to the Blue Amazon from multiple sources and publishes it on Twitter (@BLAB_Reporter) in natural language (Portuguese).
BLAB-Wiki is a set of curated texts in Portuguese about the Blue Amazon that can be used as a resource to build conversational agents. They have been written by undergraduate Oceanography students and revised by experts. Some of the texts are available at a temporary server (only preliminary versions).
- The BLue Amazon Brain (BLAB): A Modular Architecture of Services about the Brazilian Maritime Territory, published in AIMOCC 2022 (AI: Modeling Oceans and Climate Change), which was one of the IJCAI 2022 workshops. A preprint is also availabele.