Skip to main content

mloda-plugin-jev

An mloda plugin that runs Jev as a FeatureGroup: ask typed questions about a text column and get the answers back as feature columns.

Install

pip install mloda-plugin-jev
export TYPESAFE_API_KEY=...

Example

from mloda.user import Feature, Options, PluginLoader, mloda
from mloda_plugins.compute_framework.base_implementations.python_dict.python_dict_framework import PythonDictFramework

PluginLoader.all()

urgent = {"type": "noul", "instructions": "The message conveys urgency"}

result = mloda.run_all(
    [Feature("ticket__jev_urgent", Options(context={"jev_question": urgent}))],
    compute_frameworks={PythonDictFramework},
    api_data={"Tickets": {"ticket": ["I was charged twice, please fix ASAP", "The login page is broken"]}},
)
print(result[0]["ticket__jev_urgent"])  # for example [0.97, 0.12]: the probability of yes per row

The full documentation, including the mloda command line, is in the README on GitHub.

Metadata

Release files for mloda-plugin-jev 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mloda-plugin-jev 0.2.2
File Size Uploaded Provenance Actions
mloda_plugin_jev-0.2.2.tar.gz 44.4 kB Without provenance Details for mloda_plugin_jev-0.2.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mloda-plugin-jev 0.2.2
File Interpreter ABI Platform Actions
mloda_plugin_jev-0.2.2-py3-none-any.whl Python 3 none any Details for mloda_plugin_jev-0.2.2-py3-none-any.whl

Total release size: 77.7 kB

Release files / mloda_plugin_jev-0.2.2.tar.gz

Download URL mloda_plugin_jev-0.2.2.tar.gz
Size 44.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b20771a16b5c2e2d7eb4c9a72d4067eae17eee55121a0cb3f15ce200a29204f9
BLAKE2b-256 checksum
How to use checksums
f2b12964fc1c8bfb8adb0f2ad6916931e39e6e4724434897d5a0d25f8befae7a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.21

Release files / mloda_plugin_jev-0.2.2-py3-none-any.whl

Download URL mloda_plugin_jev-0.2.2-py3-none-any.whl
Size 33.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
44d3d990e886378900f9c2b2773aeeb091aa69e2d1c3b66d5dcd0bacddbfd69c
BLAKE2b-256 checksum
How to use checksums
e570cc5d7ff99516cbde47ffff97abdebc6acd71a771dc6ebb604b0cf1fddf60
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.21

Security for mloda-plugin-jev 0.2.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page