Skip to main content

A broker for routing tasks to different services

Project description

BrokerIO

This package contains BrokerIO, originally built for CARE, but more and more used standalone. BrokerIO allows running multiple models in parallel and to distribute skill requests via websockets. We currently support several skills out of the box:

The original repository can be found here. We provide a documentation of BrokerIO here.

Requirements

Quickstart

Simple run pip install brokerio to install the package and find out more about it with brokerio --help.

brokerio broker start --db_url "http://localhost:8529" --redis_url "redis://localhost:6379" --port 4852

or directly build brokerIO as a service with docker compose (all required databases included):

docker compose -f docker-compose.yml -p "brokerio" up --build -d

Features

BrokerIO provides a set of features to manage and distribute requests to multiple Skills:

  • Quota System: Limit the number of requests a client can make
  • NoSQL Database: Store the results of the Skills in a NoSQL database (inclusive donation feature)
  • Authentication: Secure the access to the BrokerIO API via Role based access control (RBAC)
  • CLI: Manage the BrokerIO and the available Skills via the command line
  • Logging: Log all requests and responses to the BrokerIO API
  • Build-in Skills: Provide a set of build-in Skills to get started
  • Docker Environment: Run the BrokerIO in a Docker container

Contact

Maintainers:

Contributors:

Don't hesitate to send us an e-mail or report an issue, if something is broken (and it shouldn't be) or if you have further questions.

https://www.ukp.tu-darmstadt.de
https://www.tu-darmstadt.de

Citation

If you use this software, please cite the following paper:

@inproceedings{zyska-etal-2023-care,
    title = "{CARE}: Collaborative {AI}-Assisted Reading Environment",
    author = "Zyska, Dennis  and
      Dycke, Nils  and
      Buchmann, Jan  and
      Kuznetsov, Ilia  and
      Gurevych, Iryna",
    booktitle = "Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 3: System Demonstrations)",
    month = jul,
    year = "2023",
    address = "Toronto, Canada",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2023.acl-demo.28",
    doi = "10.18653/v1/2023.acl-demo.28",
    pages = "291--303",
    abstract = "Recent years have seen impressive progress in AI-assisted writing, yet the developments in AI-assisted reading are lacking. We propose inline commentary as a natural vehicle for AI-based reading assistance, and present CARE: the first open integrated platform for the study of inline commentary and reading. CARE facilitates data collection for inline commentaries in a commonplace collaborative reading environment, and provides a framework for enhancing reading with NLP-based assistance, such as text classification, generation or question answering. The extensible behavioral logging allows unique insights into the reading and commenting behavior, and flexible configuration makes the platform easy to deploy in new scenarios. To evaluate CARE in action, we apply the platform in a user study dedicated to scholarly peer review. CARE facilitates the data collection and study of inline commentary in NLP, extrinsic evaluation of NLP assistance, and application prototyping. We invite the community to explore and build upon the open source implementation of CARE.Github Repository: \url{https://github.com/UKPLab/CAREPublic} Live Demo: \url{https://care.ukp.informatik.tu-darmstadt.de}",
}

Disclaimer

This repository contains experimental software and is published for the sole purpose of giving additional background details on the respective publication.
The software is only tested on unix systems and is not guaranteed to work on other operating systems.

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

brokerio-0.4.0.tar.gz (50.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

brokerio-0.4.0-py3-none-any.whl (71.2 kB view details)

Uploaded Python 3

File details

Details for the file brokerio-0.4.0.tar.gz.

File metadata

  • Download URL: brokerio-0.4.0.tar.gz
  • Upload date:
  • Size: 50.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for brokerio-0.4.0.tar.gz
Algorithm Hash digest
SHA256 b14b5354057404dc2dc7840855f1dca4f0656f0cba3bdda97348612056451862
MD5 a83b7e2529b31fc687a6cf033c985018
BLAKE2b-256 6277508f9964ebab3437f3f4c41809e8d41c43376b8056ba3a13d966361d012b

See more details on using hashes here.

Provenance

The following attestation bundles were made for brokerio-0.4.0.tar.gz:

Publisher: publish-to-pypi.yml on UKPLab/BrokerIO

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file brokerio-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: brokerio-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 71.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for brokerio-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4ef6e98492a03a9796843671c1f954ee635cb278ec7a26fd753975f8bd3fe704
MD5 65fe95dd1b5c091aadd032a008833042
BLAKE2b-256 7696cb9bf69eaee4cf90b79a2a93a5bd0a01dc2a9c173adc8b659e0e6f106208

See more details on using hashes here.

Provenance

The following attestation bundles were made for brokerio-0.4.0-py3-none-any.whl:

Publisher: publish-to-pypi.yml on UKPLab/BrokerIO

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page