<h1 align="center">
<img src="./assets/logo_with_text.png" alt="Grace Hopper" width="900"/>
</h1>
<h2 align="center">
<a style="color:#f34960" href="https://docs.geniusrise.ai">Documentation</a>
</h2>
<p align="center">
<img src="https://img.shields.io/github/actions/workflow/status/geniusrise/geniusrise-openai/pytest.yml?branch=master" alt="GitHub Workflow Status"/>
<img src="https://codecov.io/gh/geniusrise/geniusrise-openai/branch/main/graph/badge.svg?token=0b359b3a-f29c-4966-9661-a79386b3450d" alt="Codecov"/>
<img src="https://img.shields.io/github/license/geniusrise/geniusrise-openai" alt="Codecov"/>
<img src="https://img.shields.io/github/issues/geniusrise/geniusrise-openai" alt="Codecov"/>
</p>
---
## <span style="color:#e667aa">About</span>
<span style="color:#e4e48c">Geniusrise</span> is a modular, loosely-coupled
AgentOps / MLOps framework designed for the era of Large Language Models,
offering flexibility, inclusivity, and standardization in designing networks of
AI agents.
It seamlessly integrates tasks, state management, data handling, and model
versioning, all while supporting diverse infrastructures and user expertise
levels. With its plug-and-play architecture,
<span style="color:#e4e48c">Geniusrise</span> empowers teams to build, share,
and deploy AI agent workflows across various platforms.
## <span style="color:#e667aa">Openai Bolts</span>
This is a collection of generic streaming and (micro) batch bolts interfacing
with the openai ecosystem.
Includes:
| No. | Name | Description | Input Type | Output Type |
| --- | ----------------------------------------------------- | ---------------------------------------------- | ---------- | ----------- |
| 1 | [Text Classification](#text-classification) | Fine-tuning for text classification tasks | Batch | Batch |
| 2 | [Instruction Tuning](#instruction-tuning) | Fine-tuning for instruction tuning tasks | Batch | Batch |
| 3 | [Commonsense Reasoning](#commonsense-reasoning) | Fine-tuning for commonsense reasoning tasks | Batch | Batch |
| 4 | [Language Modeling](#language-modeling) | Fine-tuning for language modeling tasks | Batch | Batch |
| 5 | [Named Entity Recognition](#named-entity-recognition) | Fine-tuning for named entity recognition tasks | Batch | Batch |
| 6 | [Question Answering](#question-answering) | Fine-tuning for question answering tasks | Batch | Batch |
| 7 | [Sentiment Analysis](#sentiment-analysis) | Fine-tuning for sentiment analysis tasks | Batch | Batch |
| 8 | [Summarization](#summarization) | Fine-tuning for summarization tasks | Batch | Batch |
| 9 | [Translation](#translation) | Fine-tuning for translation tasks | Batch | Batch |
## <span style="color:#e667aa">Examples</span>
Please refer to the [examples](./examples/) directory.
Raw data
{
"_id": null,
"home_page": "https://github.com/geniusrise/geniusrise-openai",
"name": "geniusrise-openai",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": "",
"keywords": "mlops,llm,geniusrise,machine learning,data processing",
"author": "ixaxaar",
"author_email": "ixaxaar@geniusrise.ai",
"download_url": "https://files.pythonhosted.org/packages/53/b8/6aabd58b85b9229a3fc45752d670ee544bd2cbe930627b40d192f756a043/geniusrise-openai-0.1.3.tar.gz",
"platform": null,
"description": "<h1 align=\"center\">\n <img src=\"./assets/logo_with_text.png\" alt=\"Grace Hopper\" width=\"900\"/>\n</h1>\n<h2 align=\"center\">\n <a style=\"color:#f34960\" href=\"https://docs.geniusrise.ai\">Documentation</a>\n</h2>\n\n<p align=\"center\">\n <img src=\"https://img.shields.io/github/actions/workflow/status/geniusrise/geniusrise-openai/pytest.yml?branch=master\" alt=\"GitHub Workflow Status\"/>\n <img src=\"https://codecov.io/gh/geniusrise/geniusrise-openai/branch/main/graph/badge.svg?token=0b359b3a-f29c-4966-9661-a79386b3450d\" alt=\"Codecov\"/>\n <img src=\"https://img.shields.io/github/license/geniusrise/geniusrise-openai\" alt=\"Codecov\"/>\n <img src=\"https://img.shields.io/github/issues/geniusrise/geniusrise-openai\" alt=\"Codecov\"/>\n</p>\n\n---\n\n## <span style=\"color:#e667aa\">About</span>\n\n<span style=\"color:#e4e48c\">Geniusrise</span> is a modular, loosely-coupled\nAgentOps / MLOps framework designed for the era of Large Language Models,\noffering flexibility, inclusivity, and standardization in designing networks of\nAI agents.\n\nIt seamlessly integrates tasks, state management, data handling, and model\nversioning, all while supporting diverse infrastructures and user expertise\nlevels. With its plug-and-play architecture,\n<span style=\"color:#e4e48c\">Geniusrise</span> empowers teams to build, share,\nand deploy AI agent workflows across various platforms.\n\n## <span style=\"color:#e667aa\">Openai Bolts</span>\n\nThis is a collection of generic streaming and (micro) batch bolts interfacing\nwith the openai ecosystem.\n\nIncludes:\n\n| No. | Name | Description | Input Type | Output Type |\n| --- | ----------------------------------------------------- | ---------------------------------------------- | ---------- | ----------- |\n| 1 | [Text Classification](#text-classification) | Fine-tuning for text classification tasks | Batch | Batch |\n| 2 | [Instruction Tuning](#instruction-tuning) | Fine-tuning for instruction tuning tasks | Batch | Batch |\n| 3 | [Commonsense Reasoning](#commonsense-reasoning) | Fine-tuning for commonsense reasoning tasks | Batch | Batch |\n| 4 | [Language Modeling](#language-modeling) | Fine-tuning for language modeling tasks | Batch | Batch |\n| 5 | [Named Entity Recognition](#named-entity-recognition) | Fine-tuning for named entity recognition tasks | Batch | Batch |\n| 6 | [Question Answering](#question-answering) | Fine-tuning for question answering tasks | Batch | Batch |\n| 7 | [Sentiment Analysis](#sentiment-analysis) | Fine-tuning for sentiment analysis tasks | Batch | Batch |\n| 8 | [Summarization](#summarization) | Fine-tuning for summarization tasks | Batch | Batch |\n| 9 | [Translation](#translation) | Fine-tuning for translation tasks | Batch | Batch |\n\n## <span style=\"color:#e667aa\">Examples</span>\n\nPlease refer to the [examples](./examples/) directory.\n",
"bugtrack_url": null,
"license": "",
"summary": "Openai bolts for geniusrise",
"version": "0.1.3",
"project_urls": {
"Bug Reports": "https://github.com/geniusrise/geniusrise-openai/issues",
"Documentation": "https://docs.geniusrise.ai/",
"Homepage": "https://github.com/geniusrise/geniusrise-openai",
"Source": "https://github.com/geniusrise/geniusrise-openai"
},
"split_keywords": [
"mlops",
"llm",
"geniusrise",
"machine learning",
"data processing"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "2547236c5e94543194e1eac585ded1274ab81188300261f31260e4b03e51f20a",
"md5": "82ccf7363d7087f1a525cc6d6659ba11",
"sha256": "2d2ff501994e5b372eb5e619043f0cedd1f1bd3153bd55b45231425cb54f1fc9"
},
"downloads": -1,
"filename": "geniusrise_openai-0.1.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "82ccf7363d7087f1a525cc6d6659ba11",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 35430,
"upload_time": "2023-09-23T10:18:03",
"upload_time_iso_8601": "2023-09-23T10:18:03.599687Z",
"url": "https://files.pythonhosted.org/packages/25/47/236c5e94543194e1eac585ded1274ab81188300261f31260e4b03e51f20a/geniusrise_openai-0.1.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "53b86aabd58b85b9229a3fc45752d670ee544bd2cbe930627b40d192f756a043",
"md5": "6066dfcee0cb14b0dd13f29f5c648acd",
"sha256": "a219a3f066e8455c8983595104fe932876e8105518ef9d78de694af620252e4f"
},
"downloads": -1,
"filename": "geniusrise-openai-0.1.3.tar.gz",
"has_sig": false,
"md5_digest": "6066dfcee0cb14b0dd13f29f5c648acd",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 19982,
"upload_time": "2023-09-23T10:18:06",
"upload_time_iso_8601": "2023-09-23T10:18:06.035460Z",
"url": "https://files.pythonhosted.org/packages/53/b8/6aabd58b85b9229a3fc45752d670ee544bd2cbe930627b40d192f756a043/geniusrise-openai-0.1.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-09-23 10:18:06",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "geniusrise",
"github_project": "geniusrise-openai",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "aiohttp",
"specs": [
[
"==",
"3.8.5"
]
]
},
{
"name": "aiosignal",
"specs": [
[
"==",
"1.3.1"
]
]
},
{
"name": "annotated-types",
"specs": [
[
"==",
"0.5.0"
]
]
},
{
"name": "ansicolors",
"specs": [
[
"==",
"1.1.8"
]
]
},
{
"name": "argparse-color-formatter",
"specs": [
[
"==",
"1.2.2.post2"
]
]
},
{
"name": "argparse-manpage",
"specs": [
[
"==",
"4.4"
]
]
},
{
"name": "async-timeout",
"specs": [
[
"==",
"4.0.3"
]
]
},
{
"name": "attrs",
"specs": [
[
"==",
"23.1.0"
]
]
},
{
"name": "black",
"specs": [
[
"==",
"23.7.0"
]
]
},
{
"name": "bleach",
"specs": [
[
"==",
"6.0.0"
]
]
},
{
"name": "boto3",
"specs": [
[
"==",
"1.28.25"
]
]
},
{
"name": "botocore",
"specs": [
[
"==",
"1.31.25"
]
]
},
{
"name": "build",
"specs": [
[
"==",
"0.10.0"
]
]
},
{
"name": "cachetools",
"specs": [
[
"==",
"5.3.1"
]
]
},
{
"name": "certifi",
"specs": [
[
"==",
"2023.7.22"
]
]
},
{
"name": "cffi",
"specs": [
[
"==",
"1.15.1"
]
]
},
{
"name": "charset-normalizer",
"specs": [
[
"==",
"3.2.0"
]
]
},
{
"name": "click",
"specs": [
[
"==",
"8.1.7"
]
]
},
{
"name": "colorama",
"specs": [
[
"==",
"0.4.6"
]
]
},
{
"name": "colorlog",
"specs": [
[
"==",
"6.7.0"
]
]
},
{
"name": "coverage",
"specs": [
[
"==",
"7.3.0"
]
]
},
{
"name": "cryptography",
"specs": [
[
"==",
"41.0.3"
]
]
},
{
"name": "datasets",
"specs": [
[
"==",
"2.14.5"
]
]
},
{
"name": "dill",
"specs": [
[
"==",
"0.3.7"
]
]
},
{
"name": "direnv",
"specs": [
[
"==",
"2020.12.3"
]
]
},
{
"name": "docutils",
"specs": [
[
"==",
"0.20.1"
]
]
},
{
"name": "emoji",
"specs": [
[
"==",
"2.7.0"
]
]
},
{
"name": "env-file",
"specs": [
[
"==",
"2020.12.3"
]
]
},
{
"name": "et-xmlfile",
"specs": [
[
"==",
"1.1.0"
]
]
},
{
"name": "exceptiongroup",
"specs": [
[
"==",
"1.1.2"
]
]
},
{
"name": "filelock",
"specs": [
[
"==",
"3.12.3"
]
]
},
{
"name": "flake8",
"specs": [
[
"==",
"6.1.0"
]
]
},
{
"name": "frozenlist",
"specs": [
[
"==",
"1.4.0"
]
]
},
{
"name": "fsspec",
"specs": [
[
"==",
"2023.6.0"
]
]
},
{
"name": "geniusrise",
"specs": [
[
"==",
"0.0.16"
]
]
},
{
"name": "google-auth",
"specs": [
[
"==",
"2.17.3"
]
]
},
{
"name": "GPUtil",
"specs": [
[
"==",
"1.4.0"
]
]
},
{
"name": "huggingface-hub",
"specs": [
[
"==",
"0.16.4"
]
]
},
{
"name": "idna",
"specs": [
[
"==",
"3.4"
]
]
},
{
"name": "importlib-metadata",
"specs": [
[
"==",
"6.8.0"
]
]
},
{
"name": "iniconfig",
"specs": [
[
"==",
"2.0.0"
]
]
},
{
"name": "jaraco.classes",
"specs": [
[
"==",
"3.3.0"
]
]
},
{
"name": "jeepney",
"specs": [
[
"==",
"0.8.0"
]
]
},
{
"name": "jmespath",
"specs": [
[
"==",
"0.10.0"
]
]
},
{
"name": "jsonpickle",
"specs": [
[
"==",
"3.0.1"
]
]
},
{
"name": "kafka-python",
"specs": [
[
"==",
"2.0.2"
]
]
},
{
"name": "keyring",
"specs": [
[
"==",
"24.2.0"
]
]
},
{
"name": "kubernetes",
"specs": [
[
"==",
"27.2.0"
]
]
},
{
"name": "lit",
"specs": [
[
"==",
"16.0.6"
]
]
},
{
"name": "markdown-it-py",
"specs": [
[
"==",
"3.0.0"
]
]
},
{
"name": "mccabe",
"specs": [
[
"==",
"0.7.0"
]
]
},
{
"name": "mdurl",
"specs": [
[
"==",
"0.1.2"
]
]
},
{
"name": "more-itertools",
"specs": [
[
"==",
"10.1.0"
]
]
},
{
"name": "mpmath",
"specs": [
[
"==",
"1.3.0"
]
]
},
{
"name": "multidict",
"specs": [
[
"==",
"6.0.4"
]
]
},
{
"name": "multiprocess",
"specs": [
[
"==",
"0.70.15"
]
]
},
{
"name": "mypy",
"specs": [
[
"==",
"1.5.0"
]
]
},
{
"name": "mypy-extensions",
"specs": [
[
"==",
"1.0.0"
]
]
},
{
"name": "numpy",
"specs": [
[
"==",
"1.25.2"
]
]
},
{
"name": "oauthlib",
"specs": [
[
"==",
"3.2.2"
]
]
},
{
"name": "openai",
"specs": [
[
"==",
"0.28.0"
]
]
},
{
"name": "openpyxl",
"specs": [
[
"==",
"3.1.2"
]
]
},
{
"name": "packaging",
"specs": [
[
"==",
"23.1"
]
]
},
{
"name": "pandas",
"specs": [
[
"==",
"2.1.0"
]
]
},
{
"name": "pathspec",
"specs": [
[
"==",
"0.11.2"
]
]
},
{
"name": "pkginfo",
"specs": [
[
"==",
"1.9.6"
]
]
},
{
"name": "platformdirs",
"specs": [
[
"==",
"3.10.0"
]
]
},
{
"name": "pluggy",
"specs": [
[
"==",
"1.2.0"
]
]
},
{
"name": "prettytable",
"specs": [
[
"==",
"3.8.0"
]
]
},
{
"name": "prometheus-client",
"specs": [
[
"==",
"0.17.1"
]
]
},
{
"name": "psutil",
"specs": [
[
"==",
"5.9.5"
]
]
},
{
"name": "psycopg2",
"specs": [
[
"==",
"2.9.7"
]
]
},
{
"name": "pyarrow",
"specs": [
[
"==",
"13.0.0"
]
]
},
{
"name": "pyasn1",
"specs": [
[
"==",
"0.5.0"
]
]
},
{
"name": "pyasn1-modules",
"specs": [
[
"==",
"0.3.0"
]
]
},
{
"name": "pycodestyle",
"specs": [
[
"==",
"2.11.0"
]
]
},
{
"name": "pycparser",
"specs": [
[
"==",
"2.21"
]
]
},
{
"name": "pydantic",
"specs": [
[
"==",
"2.1.1"
]
]
},
{
"name": "pydantic_core",
"specs": [
[
"==",
"2.4.0"
]
]
},
{
"name": "pyflakes",
"specs": [
[
"==",
"3.1.0"
]
]
},
{
"name": "Pygments",
"specs": [
[
"==",
"2.16.1"
]
]
},
{
"name": "pyproject_hooks",
"specs": [
[
"==",
"1.0.0"
]
]
},
{
"name": "pytest",
"specs": [
[
"==",
"7.4.0"
]
]
},
{
"name": "python-dateutil",
"specs": [
[
"==",
"2.8.2"
]
]
},
{
"name": "pytz",
"specs": [
[
"==",
"2023.3"
]
]
},
{
"name": "PyYAML",
"specs": [
[
"==",
"6.0.1"
]
]
},
{
"name": "readme-renderer",
"specs": [
[
"==",
"40.0"
]
]
},
{
"name": "redis",
"specs": [
[
"==",
"4.6.0"
]
]
},
{
"name": "requests",
"specs": [
[
"==",
"2.31.0"
]
]
},
{
"name": "requests-oauthlib",
"specs": [
[
"==",
"1.3.1"
]
]
},
{
"name": "requests-toolbelt",
"specs": [
[
"==",
"1.0.0"
]
]
},
{
"name": "retrying",
"specs": [
[
"==",
"1.3.4"
]
]
},
{
"name": "rfc3986",
"specs": [
[
"==",
"2.0.0"
]
]
},
{
"name": "rich",
"specs": [
[
"==",
"13.5.2"
]
]
},
{
"name": "rich-argparse",
"specs": [
[
"==",
"1.3.0"
]
]
},
{
"name": "rsa",
"specs": [
[
"==",
"4.9"
]
]
},
{
"name": "s3transfer",
"specs": [
[
"==",
"0.6.1"
]
]
},
{
"name": "safetensors",
"specs": [
[
"==",
"0.3.3"
]
]
},
{
"name": "SecretStorage",
"specs": [
[
"==",
"3.3.3"
]
]
},
{
"name": "shortuuid",
"specs": [
[
"==",
"1.0.11"
]
]
},
{
"name": "six",
"specs": [
[
"==",
"1.16.0"
]
]
},
{
"name": "termcolor",
"specs": [
[
"==",
"2.3.0"
]
]
},
{
"name": "tokenizers",
"specs": [
[
"==",
"0.13.3"
]
]
},
{
"name": "tomli",
"specs": [
[
"==",
"2.0.1"
]
]
},
{
"name": "tqdm",
"specs": [
[
"==",
"4.66.1"
]
]
},
{
"name": "twine",
"specs": [
[
"==",
"4.0.2"
]
]
},
{
"name": "types-PyYAML",
"specs": [
[
"==",
"6.0.12.11"
]
]
},
{
"name": "typing_extensions",
"specs": [
[
"==",
"4.7.1"
]
]
},
{
"name": "tzdata",
"specs": [
[
"==",
"2023.3"
]
]
},
{
"name": "urllib3",
"specs": [
[
"==",
"1.26.16"
]
]
},
{
"name": "values",
"specs": [
[
"==",
"2020.12.3"
]
]
},
{
"name": "wcwidth",
"specs": [
[
"==",
"0.2.6"
]
]
},
{
"name": "webencodings",
"specs": [
[
"==",
"0.5.1"
]
]
},
{
"name": "websocket-client",
"specs": [
[
"==",
"1.6.1"
]
]
},
{
"name": "xxhash",
"specs": [
[
"==",
"3.3.0"
]
]
},
{
"name": "yarl",
"specs": [
[
"==",
"1.9.2"
]
]
},
{
"name": "zipp",
"specs": [
[
"==",
"3.16.2"
]
]
}
],
"lcname": "geniusrise-openai"
}