[<img width="295" src="https://inspect.ai-safety-institute.org.uk/images/aisi-logo.svg" />](https://aisi.gov.uk/)
Welcome to Inspect, a framework for large language model evaluations created by the [UK AI Security Institute](https://aisi.gov.uk/).
Inspect provides many built-in components, including facilities for prompt engineering, tool usage, multi-turn dialog, and model graded evaluations. Extensions to Inspect (e.g. to support new elicitation and scoring techniques) can be provided by other Python packages.
To get started with Inspect, please see the documentation at <https://inspect.ai-safety-institute.org.uk/>.
***
To work on development of Inspect, clone the repository and install with the `-e` flag and `[dev]` optional dependencies:
```bash
git clone https://github.com/UKGovernmentBEIS/inspect_ai.git
cd inspect_ai
pip install -e ".[dev]"
```
Optionally install pre-commit hooks via
```bash
make hooks
```
Run linting, formatting, and tests via
```bash
make check
make test
```
If you use VS Code, you should be sure to have installed the recommended extensions (Python, Ruff, and MyPy). Note that you'll be prompted to install these when you open the project in VS Code.
Raw data
{
"_id": null,
"home_page": null,
"name": "inspect-ai",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": null,
"author": "UK AI Security Institute",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/45/f0/dc6aa4f80192a4c56b8dbc81219fac101686d150de3237b3483ddfcad460/inspect_ai-0.3.69.tar.gz",
"platform": null,
"description": "[<img width=\"295\" src=\"https://inspect.ai-safety-institute.org.uk/images/aisi-logo.svg\" />](https://aisi.gov.uk/)\n\nWelcome to Inspect, a framework for large language model evaluations created by the [UK AI Security Institute](https://aisi.gov.uk/).\n\nInspect provides many built-in components, including facilities for prompt engineering, tool usage, multi-turn dialog, and model graded evaluations. Extensions to Inspect (e.g.\u00a0to support new elicitation and scoring techniques) can be provided by other Python packages.\n\nTo get started with Inspect, please see the documentation at <https://inspect.ai-safety-institute.org.uk/>.\n\n***\n\nTo work on development of Inspect, clone the repository and install with the `-e` flag and `[dev]` optional dependencies:\n\n```bash\ngit clone https://github.com/UKGovernmentBEIS/inspect_ai.git\ncd inspect_ai\npip install -e \".[dev]\"\n```\n\nOptionally install pre-commit hooks via\n\n```bash\nmake hooks\n```\n\nRun linting, formatting, and tests via\n\n```bash\nmake check\nmake test\n```\n\nIf you use VS Code, you should be sure to have installed the recommended extensions (Python, Ruff, and MyPy). Note that you'll be prompted to install these when you open the project in VS Code.\n",
"bugtrack_url": null,
"license": "MIT License",
"summary": "Framework for large language model evaluations",
"version": "0.3.69",
"project_urls": {
"Documentation": "https://inspect.ai-safety-institute.org.uk/",
"Issue Tracker": "https://github.com/UKGovernmentBEIS/inspect_ai/issues",
"Source Code": "https://github.com/UKGovernmentBEIS/inspect_ai"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "8f2b946e3402973e57862444c9c6c98f2713acee0edcb742aaf0712a819e5499",
"md5": "0993a7321dda675b767e63e87fbe327a",
"sha256": "caf2ad9d4ed054c54bccaac54c8eead698384ebd81c7fc0de24c58c41ea9ecad"
},
"downloads": -1,
"filename": "inspect_ai-0.3.69-py3-none-any.whl",
"has_sig": false,
"md5_digest": "0993a7321dda675b767e63e87fbe327a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 2011527,
"upload_time": "2025-02-20T22:34:03",
"upload_time_iso_8601": "2025-02-20T22:34:03.256011Z",
"url": "https://files.pythonhosted.org/packages/8f/2b/946e3402973e57862444c9c6c98f2713acee0edcb742aaf0712a819e5499/inspect_ai-0.3.69-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "45f0dc6aa4f80192a4c56b8dbc81219fac101686d150de3237b3483ddfcad460",
"md5": "1bc019b6548534f8e2c2f9806fe238e4",
"sha256": "a1faf797a5bd86fc56332aa7c92339d36fe3967d629af98d9520afed7a39d442"
},
"downloads": -1,
"filename": "inspect_ai-0.3.69.tar.gz",
"has_sig": false,
"md5_digest": "1bc019b6548534f8e2c2f9806fe238e4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 10051907,
"upload_time": "2025-02-20T22:34:10",
"upload_time_iso_8601": "2025-02-20T22:34:10.088563Z",
"url": "https://files.pythonhosted.org/packages/45/f0/dc6aa4f80192a4c56b8dbc81219fac101686d150de3237b3483ddfcad460/inspect_ai-0.3.69.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-02-20 22:34:10",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "UKGovernmentBEIS",
"github_project": "inspect_ai",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "aiohttp",
"specs": [
[
">=",
"3.9.0"
]
]
},
{
"name": "anyio",
"specs": [
[
">=",
"4.4.0"
]
]
},
{
"name": "beautifulsoup4",
"specs": []
},
{
"name": "click",
"specs": [
[
">=",
"8.1.3"
]
]
},
{
"name": "debugpy",
"specs": []
},
{
"name": "docstring-parser",
"specs": [
[
">=",
"0.16"
]
]
},
{
"name": "fsspec",
"specs": [
[
">=",
"2021.09.0"
]
]
},
{
"name": "httpx",
"specs": []
},
{
"name": "ijson",
"specs": [
[
">=",
"3.2.0"
]
]
},
{
"name": "jsonlines",
"specs": [
[
">=",
"3.0.0"
]
]
},
{
"name": "jsonpatch",
"specs": [
[
">=",
"1.32"
]
]
},
{
"name": "jsonschema",
"specs": [
[
">",
"3.1.1"
]
]
},
{
"name": "mmh3",
"specs": [
[
">",
"3.1.0"
]
]
},
{
"name": "nest_asyncio",
"specs": []
},
{
"name": "numpy",
"specs": []
},
{
"name": "platformdirs",
"specs": [
[
">=",
"2.3.0"
]
]
},
{
"name": "psutil",
"specs": []
},
{
"name": "pydantic",
"specs": [
[
">=",
"2"
]
]
},
{
"name": "python-dotenv",
"specs": [
[
">=",
"0.16.0"
]
]
},
{
"name": "pyyaml",
"specs": []
},
{
"name": "rich",
"specs": [
[
">=",
"13.3.3"
]
]
},
{
"name": "s3fs",
"specs": [
[
">=",
"2023"
]
]
},
{
"name": "semver",
"specs": [
[
">=",
"3.0.0"
]
]
},
{
"name": "shortuuid",
"specs": []
},
{
"name": "tenacity",
"specs": []
},
{
"name": "textual",
"specs": [
[
">=",
"0.86.2"
],
[
"<=",
"1.0.0"
]
]
},
{
"name": "typing_extensions",
"specs": [
[
">=",
"4.9.0"
]
]
},
{
"name": "zipp",
"specs": [
[
">=",
"3.19.1"
]
]
}
],
"lcname": "inspect-ai"
}