Skip to content

v0.1.0

Compare
Choose a tag to compare
@release-version-bump release-version-bump released this 29 Jan 16:16
· 10 commits to main since this release

v0.1.0 (2024-01-29)

Chore

  • chore: update release action to use github app for token to allow push (f30150d)

  • chore: update release action to use github app for token to allow push (d21c8d3)

  • chore: add semantic-release action and conventional commit hook (618719e)

  • chore: try to force docs publish action to succeed (9890f91)

  • chore: add github action to publish docs (9a29a56)

  • chore: add basic security notice (1ea2444)

  • chore: update pyproject.toml config for PyPI listing (847caa1)

  • chore: fix build command (87da1e7)

  • chore: generate mkdocs site (cc2d740)

  • chore: remove broken github actions publishing flow (16b512b)

  • chore: update actions/checkout version and add change mkdocs config (64acd1e)

  • chore: publish mkdocs automatically via github actions (51876b1)

Ci

  • ci: add github actions for test and publish (8884c0d)

Documentation

  • docs: add link to rag tutorial (7bbb1da)

  • docs: fix typo in rag tutorial (b0f36d5)

  • docs: remove erroneous link (b3c80ee)

  • docs: add rag tutorial and some more links to docs home (bcee41d)

  • docs: tweak title again (17f61b6)

  • docs: update readme title (e4c64d1)

  • docs: update sitemap for docs site (71be0e4)

  • docs: update mkdocs site (9dc14ea)

Feature

  • feat: add classifier_args; simplify api_key; add injection demo page

This simplifies how the API key is handled and allows classifier arguments to be passed to the LakeraChainGuard contstructor.

It also introduces a demo page to the GitHub pages site that includes an indirect prompt injection that can be used with a RAG demo. (ae6f4e4)

  • feat: add how-to for automatic pii redaction; add indirect injection demo (72204fe)

  • feat: add classifier_args; simplify api_key; add injection demo page

This simplifies how the API key is handled and allows classifier arguments to be passed to the LakeraChainGuard contstructor.

It also introduces a demo page to the GitHub pages site that includes an indirect prompt injection that can be used with a RAG demo. (360e28d)

  • feat: rename to ChainGuard and update code and docs

This renames the package to lakera_chainguard and the class to LakeraChainGuard and includes updates to the docs to clarify usage and replaces secured with guarded in most places to be more accurate about what this achieves. (4a6d382)

Fix

  • fix: update incorrect mkdocs gh-deploy flag (53a32d3)

Unknown

  • Merge pull request #30 from lakeraai/feature/updated-release-action

chore: update release action to use github app for token to allow push (3c3d7f4)

  • Merge branch 'main' into feature/updated-release-action (1b85edb)

  • Merge pull request #29 from lakeraai/feature/updated-release-action

chore: update release action to use github app for token to allow push (3b392b3)

  • Merge pull request #28 from lakeraai/feature/semantic-release

chore: add semantic-release action and conventional commit hook (91465ef)

  • Merge pull request #27 from lakeraai/feature/publish-docs

fix: update incorrect mkdocs gh-deploy flag (5974645)

  • Merge pull request #26 from lakeraai/feature/publish-docs

chore: try to force docs publish action to succeed (dc051fb)

  • Merge pull request #25 from lakeraai/feature/publish-docs

chore: add github action to publish docs (f13da3f)

  • Merge pull request #24 from lakeraai/feature/security.md

chore: add basic security notice (7853853)

  • Merge pull request #23 from lakeraai/feature/pypi-updates

chore: update pyproject.toml config for PyPI listing (6b774df)

  • Merge pull request #22 from lakeraai/feature/fix-build-step

chore: fix build command (afdcf82)

  • Merge pull request #21 from lakeraai/feature/add-workflows

ci: add github actions for test and publish (813fe99)

  • Merge pull request #20 from lakeraai/fv/fix-pre-push-hook

add explanation on how to install pre-push hooks (d3e6b9e)

  • Merge pull request #19 from lakeraai/fv/feedback-zsolt

Fv/feedback zsolt (4e5c7b0)

  • added pre-push to default_install_hook_types (f969475)

  • string match removed for endpoint test (e14ab5d)

  • added Literal type to endpoint. Made typing of type_of_llm, type_of_chat_llm better so that mypy does not complain anymore. (202da59)

  • add explanation on how to install pre-push hooks (cebb4fd)

  • changed naming from format to convert, made some methods private (37a3c80)

  • raise error when invalid api key, invalid endpoint etc are provided. Test this in test_integration. (f4ce814)

  • changed naming: classifier to endpoint and classifier_args to additional_json_properties (51b31d7)

  • incirporated changes from main branch (0dfb765)

  • Merge pull request #18 from lakeraai/fv/handle-no_API-key

raise an error when no Lakera Guard API key is given (e8ee2a7)

  • incirporated zsolt's first feedback (d367927)

  • added code to lakera_chainguard.py file again (777c7f6)

  • delete full lakera_chainguard.py file (3a44b75)

  • now we raise an error when no Lakera Guard API key is given (0060644)

  • Merge pull request #17 from lakeraai/feature/updated-docs-nav

docs: add link to rag tutorial (eb66485)

  • removed site dir, removed site dir explanation from docs (5917b42)

  • added explanation phrase that we do nto guard tools that are built in an agent. (6d46632)

  • Merge pull request #16 from lakeraai/feature/rag-tutorial

docs: add rag tutorial and some more links to docs home (e080471)

  • Merge pull request #15 from lakeraai/feature/readme-title-tweak

docs: tweak title again (41bb8b5)

  • Merge pull request #14 from lakeraai/feature/readme-title-tweak

docs: update readme title (572f025)

  • Merge pull request #13 from lakeraai/feature/updated-mkdocs-build

docs: update sitemap for docs site (7834bd8)

  • Merge pull request #11 from lakeraai/fv/fix-readme-link

Fv/fix readme link (ee4e6b4)

  • fixed links to tutorials in readme, added link to documentation webpage (87595b4)

  • Merge pull request #10 from lakeraai/feature/demos

Classifier Args and Indirect Prompt Injection Demo Page (3f3e8f1)

  • Merge pull request #12 from lakeraai/feature/automated-deployments

chore: publish mkdocs automatically via github actions (ad3dd95)

  • Merge pull request #9 from lakeraai/fv/move_to_mkdocs_docs

Moved tutorials to mkdocs docs and added how-to guide (439f159)

Improve example structure for llms vs agents (9c61cee)

  • resolve merge conflict in agent tutorial (c9065a4)

  • Merge pull request #4 from lakeraai/fv/feature-explanation

Added automated docstrings (b9b8c08)

docs: update mkdocs site + added warning handling in tutorial (f290317)

  • minor fix (1340921)

  • added warning handling from eric here because I split up notebook. Added root dir to sys path because tutorial is now in folder. (c8c5748)

  • Merge pull request #7 from lakeraai/fv/add_py_typed

add py typed (dd3bc15)

remove os.environ.get from default value in init method because env var could be set later (1ee7bda)

  • fix accidentally added dist (a98db20)

  • fix pre-commit fail (6055ef3)

  • testing package publishing with Test PyPI (4d3a5aa)

  • updated CONTRIBUTIION file to explain the mkdocs process for automatic documentation (3196bf0)

  • adapted readme so that feature section has better overview and linked to specific tutorials. (8931ebd)

  • split up examples for guarding llm and guarding agent into two different files (77e667d)

  • fixed mistake in docstrings (eb5c45e)

  • type fix (c5ed9e0)

  • added documentation (97d2abf)

  • Merge pull request #3 from lakeraai/fv/warning_error_flag

error warning switch with custom error/warning (54b515d)

  • fixed error in readme (7ef5447)

  • incorporated eric's feedback (ed8a590)

  • added flag to switch between raising error or warning. Changed error/warning from Runtime... to LakeraGuard...
    . Changed from 'from lakera_chainguard.lakera_chainguard import LakeraChainGuard' to 'from lakera_chainguard import LakeraChainGuard'. (af92d30)

  • Merge pull request #2 from lakeraai/fv/add_pre-commit-hooks

Fv/add pre commit hooks (c339f6f)

  • made name changes consistent. Added docstrings to source code. (7fea254)

  • resolve merge conflicts (0296efc)

  • Merge pull request #1 from lakeraai/feature/docs-updates

feat: rename to ChainGuard and update code and docs (05b215e)

  • Update README.md to adhere to name changes (543d2f2)

  • added pre-commit hooks (74e4aa5)

  • fixed typo (6eab625)

  • added tutorial, changed naming in lakera_guard.py, updated README to use changed terms. ALso added CONTRIBUTING and some more tests.. (63ffd39)

  • first version of README (ba017c4)

  • added pytest package (513bc13)

  • basic version of integration (240f4b5)