Shared LLM provider layer for assert-review and assert-eval
Project description
assert-core
Shared LLM provider layer for assert-review and assert-eval.
Not intended for direct installation by end users — install assert-review or assert-eval instead.
What's in here
LLMConfig— provider configuration dataclass (supports OpenAI, Azure OpenAI, AWS Bedrock)BaseLLM,BedrockLLM,OpenAILLM— provider implementationsBaseCalculator— base class for all metric calculators
Install (internal use)
pip install assert-core
Usage
from assert_core import LLMConfig, OpenAILLM
config = LLMConfig(provider="openai", model_id="gpt-4o", api_key="sk-...")
llm = OpenAILLM(config)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file assert_core-0.2.0.tar.gz.
File metadata
- Download URL: assert_core-0.2.0.tar.gz
- Upload date:
- Size: 10.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
58a4481a3e4552f9d5a1466c53a03f9f039f9371e318b2126b8caa7054558b8a
|
|
| MD5 |
454ca8969824fe1df4be78b2c4f90d2b
|
|
| BLAKE2b-256 |
447bea348abf2572201eafe62d51259c558dcf817141de98c828127c0e3faff1
|
Provenance
The following attestation bundles were made for assert_core-0.2.0.tar.gz:
Publisher:
publish-assert-core.yml on charliedouglas/assert_llm_tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
assert_core-0.2.0.tar.gz -
Subject digest:
58a4481a3e4552f9d5a1466c53a03f9f039f9371e318b2126b8caa7054558b8a - Sigstore transparency entry: 1003789969
- Sigstore integration time:
-
Permalink:
charliedouglas/assert_llm_tools@983d32979bef6cd0d77424d598c0b845294160d0 -
Branch / Tag:
refs/tags/assert-core-v0.2.0 - Owner: https://github.com/charliedouglas
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-assert-core.yml@983d32979bef6cd0d77424d598c0b845294160d0 -
Trigger Event:
release
-
Statement type:
File details
Details for the file assert_core-0.2.0-py3-none-any.whl.
File metadata
- Download URL: assert_core-0.2.0-py3-none-any.whl
- Upload date:
- Size: 12.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7cf01f6ba41a02891d49110d87d523bc8f24555e4f92d71112eef4562f088d4b
|
|
| MD5 |
bef5c58279ebbe103e9a65424ffd0ad7
|
|
| BLAKE2b-256 |
88f9baafa65cea6748c8e4b9636b2f21050177c7373aaa4d059e66ba6af3d80a
|
Provenance
The following attestation bundles were made for assert_core-0.2.0-py3-none-any.whl:
Publisher:
publish-assert-core.yml on charliedouglas/assert_llm_tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
assert_core-0.2.0-py3-none-any.whl -
Subject digest:
7cf01f6ba41a02891d49110d87d523bc8f24555e4f92d71112eef4562f088d4b - Sigstore transparency entry: 1003789972
- Sigstore integration time:
-
Permalink:
charliedouglas/assert_llm_tools@983d32979bef6cd0d77424d598c0b845294160d0 -
Branch / Tag:
refs/tags/assert-core-v0.2.0 - Owner: https://github.com/charliedouglas
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-assert-core.yml@983d32979bef6cd0d77424d598c0b845294160d0 -
Trigger Event:
release
-
Statement type: