Core library for EvalKit AI Evaluation.
Project description
EvalKit Core Library
This directory contains the core Python library for EvalKit.
Installation
To install the EvalKit core library:
pip install evalkit
For development, you can install from this directory:
cd core
pip install -e .
Usage
Import the necessary components from the core package (after installing evalkit):
from core.kit import EvalKit
from core.models import Span, Task # etc.
# You might also import storage modules if needed directly
# from core.storage import MemoryStorage, HttpStorage
eval_kit = EvalKit() # Uses MemoryStorage by default
@eval_kit.trace_interaction(
agent_name="agentX",
prompt_template_arg_name="prompt_template"
)
def agent_function(prompt_template):
pass
# Example using tracing:
with eval_kit.trace_task(task_name="My Task") as task_ctx:
# Your agent code here, using @eval_kit.trace_interaction
pass
# Example using models (if needed separately):
# my_span = Span(...)
# my_task = Task(...)
Refer to the main project README for more detailed examples and context within the full EvalKit application.
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 aievalkit-0.1.0.tar.gz.
File metadata
- Download URL: aievalkit-0.1.0.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef4ffcde2576310aa9982ecc7efaf8974b882d22137d504064e59c4282a3cbfc
|
|
| MD5 |
3031db0f971adffd63d8863e71556b6e
|
|
| BLAKE2b-256 |
510cd39d9122eb30b9ff8408ae93421aee5925a01cce7270f2d3f6334da9f04b
|
File details
Details for the file aievalkit-0.1.0-py3-none-any.whl.
File metadata
- Download URL: aievalkit-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6f53b49b7c12ada95976d7f2649e886efc3c51174f40d936426da40d28e8aeb
|
|
| MD5 |
f6d160d69dd02d2ae1bbd5dc526d4a65
|
|
| BLAKE2b-256 |
c1a44bff9f7dc3b20f6c8377e24d69ab4a9dd8426788a7d9e55b9b90a7d4a8e9
|