-
Hi,
I run the following sample script given in the README.md file after the installation of this evaluator with the command `guardrails hub install hub://arize-ai/relevancy_evaluator`.
```
import…
-
**Describe the bug**
I am trying to use the custom LLM wrapper so that I can add guardrails using a NVIDIA TensorRT LLM (TRT-LLM). I do not wish to use openai/azure openai for the guardrails call.
…
-
If i want to install the llm-guard i run always in following issue:
```
ModuleNotFoundError: No module named 'torch'
[end of output]
note: This error originates from a subprocess, and…
-
**Description**
When using following code, I don't know what will be sent to the llm endpoint.
```
guard = Guard.from_pydantic(output_class=Pet, prompt=prompt)
raw_output, validated_output, *res…
-
**Describe the bug**
In v0.5, when I run a SensitiveTopic validation with **disable_llm=true** (LLM disabled) and **device** with the default value of -1
- In the validation script, I got the erro…
-
**Describe the bug**
The only way to utilize Async clients for OpenAI 1.x in guardrails is to wrap it as a custom llm. This is because our identification criteria for OpenAI v1.x functions are weak …
-
when implemented below code I'm getting an error ..
#'FailResult' object has no attribute 'detect_injection'
from guardrails import Guard
from guardrails.hub import DetectPromptInjection
impo…
-
**Describe the bug**
JSON validation fails when a field that is Optional or Unioned with None is not present. In those cases, JSON validation should pass instead
**To Reproduce**
```
import open…
-
**Describe the bug**
Update the `regex` dependency version for compatibility with other libraries
**Expected behavior**
A clear and concise description of what you expected to happen.
**Librar…
-
### Feature request
This is a Bert based model however when trying to run, the message says model not supported. https://huggingface.co/meta-llama/Prompt-Guard-86M/tree/main
### Motivation
LLM-pow…