Skip to content

Commit

Permalink
Add guardrail type
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Widdis <[email protected]>
  • Loading branch information
dbwiddis committed Mar 28, 2024
1 parent e778d56 commit 34a972a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sample-templates/query-assist-agent-claude.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"deploy": true,
"name": "claude-instant",
"guardrails": {
"type": "",
"type": "local_regex",
"input_guardrail": {
"stop_words": [
{
Expand Down
2 changes: 1 addition & 1 deletion sample-templates/query-assist-agent-claude.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ workflows:
# Guardrails can filter the input and output to the model.
guardrails:
# The type is presently unused but required. Any string works here.
type: ''
type: local_regex
input_guardrail:
stop_words:
- index_name: words0
Expand Down

0 comments on commit 34a972a

Please sign in to comment.