Skip to content

Commit

Permalink
[llamapack] update link for ZenGuard colab (run-llama#13989)
Browse files Browse the repository at this point in the history
* created the llama pack zenguard-guardrails package using llamaindex-cli

* created poetry.lock file after installing dependencies using "poetry install"

* added authors to the authors field in block [tool.poetry] in pyproject.toml

* a file "base.py" was created along the path "llama_index/packs/zenguard_guardrails/" and in it the ZenguardGuardrailsPack class with unimplemented methods was declared, which inherits from the BaseLlamaPack class

* added import of the "ZenguardGuardrailsPack" class to "__init__.py" along the path "llama_index/packs/zenguard_guardrails/"

* uncommented the [tool.llama hub] block and added "llama_index.packs.zenguard_guardrails" to the "import path" field

* The block "[tool.llama hub.class authors]" was uncommented and the class "ZenguardGuardrailsPacks" and the author of the class "yaksh0nti" were indicated

* a basic unit test was written to check that the class "ZenguardGuardrailsPack" is inherited from the class "BaseLlamaPack"

* uncommented contains_example field in block tool.llamahub in pyproject.toml

* renamed class ZenguardGuardrailsPack to ZenGuardPack and implemented

* wroted unit tests

* renamed fixture with zenguard pack

* updated README.md

* created zenguarg_guardrails.ipynb file

* added a link to the ipynb file in google colab

* renamed zenguard_guardrails to zenguard

* updated python  version to 3.9 and install zenguard packages

* changes by linting and formating

* [zenguard] update the package

* pants

* Update pyproject.toml

* [llama-index] do not track poetry.lock

* Update BUILD

* renamed zenguard llamapack package name and description for match readme installing instruction

* change colab link to correct in zenguard.ipynb

---------

Co-authored-by: Nuradil <[email protected]>
Co-authored-by: Andrei Fajardo <[email protected]>
Co-authored-by: Nuradil <[email protected]>
  • Loading branch information
4 people authored Jun 6, 2024
1 parent 86c576a commit 7b14500
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"source": [
"# ZenGuard AI LLamaPack\n",
"\n",
" <a href=\"https://colab.research.google.com/github/ZenGuard-AI/llama_index/blob/nuradil%2Fbase%2Fzenguard-llamapack/llama-index-packs/llama-index-packs-zenguard-guardrails/examples/zenguard_guardrails.ipynb\" target=_parent><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"></a>\n",
" <a href=\"https://colab.research.google.com/github/run-llama/llama_index/blob/main/llama-index-packs/llama-index-packs-zenguard/examples/zenguard.ipynb\" target=_parent><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"></a>\n",
"\n",
" This LlamaPack lets you quickly set up [ZenGuard AI](https://www.zenguard.ai/) in your LlamaIndex-powered application. The ZenGuard AI provides ultrafast guardrails to protect your GenAI application from:\n",
"\n",
Expand Down

0 comments on commit 7b14500

Please sign in to comment.