Nuclia Models
This repository contains some of the public models used in Nuclia SDK. You can import and use these models with the Nuclia Python SDK.
Installation
To install the Nuclia Python SDK and use the models from this repository:
pip install nuclia-sdk
How to Use
To use one of the public models in your project, simply import it from the Nuclia SDK:
from nuclia import sdk
from nuclia_models.common.pagination import Pagination
from nuclia_models.events.activity_logs import ActivityLogsQuery, EventType
kb = sdk.NucliaKB()
query = ActivityLogsQuery(
year_month="2024-10",
show=["id", "date", "question", "answer"],
filters={
"question": {"ilike": "user question"},
"feedback_good": {"eq": True}
},
pagination=Pagination(limit=10)
)
kb.logs.query(type=EventType.CHAT, query=query)
Refer to the Nuclia Python SDK documentation for more details on available models and their usage.
Versioning and PR Conventions
We follow Semantic Versioning (SemVer) to manage version numbers in this repository. Here's how versions are bumped automatically based on the PR titles:
- MAJOR version: Incremented when there are incompatible API changes. Triggered if the PR title starts with
break. - MINOR version: Incremented when adding functionality in a backward-compatible manner. Triggered if the PR title starts with
feat. - PATCH version: Incremented for backward-compatible bug fixes. Triggered if the PR title starts with
fix.
Example PR Conventions:
-
PR title:
fix: resolve issue with model output- This will bump the PATCH version and automatically update the
CHANGELOG.md.
- This will bump the PATCH version and automatically update the
-
PR title:
feature: add support for new model- This will bump the MINOR version and update the
CHANGELOG.md.
- This will bump the MINOR version and update the
-
PR title:
breaking: change API response format- This will bump the MAJOR version and update the
CHANGELOG.md.
- This will bump the MAJOR version and update the
Automatic Changelog Updates
When a PR is merged, the version is updated based on the title, and the CHANGELOG.md is automatically updated with the following format:
## [version] - YYYY-MM-DD
### Title:
Description of the PR (if provided)
If no description is provided, the changelog entry will only include the title.
Metadata
Release files for nuclia-models 0.68.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nuclia_models-0.68.0.tar.gz | 31.4 kB | Without provenance | Details for nuclia_models-0.68.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nuclia_models-0.68.0-py3-none-any.whl | Python 3 | none | any | Details for nuclia_models-0.68.0-py3-none-any.whl |
Total release size: 69.9 kB
Release files / nuclia_models-0.68.0.tar.gz
| Download URL | nuclia_models-0.68.0.tar.gz |
|---|---|
| Size | 31.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c7af203b1186bddb15b49a7ece3cb8f721947dd2cd6f280d97e7a3467c302825
|
|
BLAKE2b-256 checksum How to use checksums |
a7aad213768cf056ff72c01bbb4e4b3f7b4799b3b488aac79770fd5785f23942
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / nuclia_models-0.68.0-py3-none-any.whl
| Download URL | nuclia_models-0.68.0-py3-none-any.whl |
|---|---|
| Size | 38.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
02c03a827e0a344abd64a78f8b02b7c46bf52b033a605cc82df27e4a549da5fc
|
|
BLAKE2b-256 checksum How to use checksums |
be7f1741dc1a0d0594c149cde0df833bd14231468b3d3cecf42ca84970b45c71
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for nuclia-models 0.68.0
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.