Skip to content

Commit

Permalink
feat(guardrails): removing support for Command-R due to lack of Langc…
Browse files Browse the repository at this point in the history
…hain support
  • Loading branch information
massi-ang authored and bigadsoleiman committed Jun 24, 2024
1 parent ff3ba70 commit 035ecc0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from langchain.prompts.prompt import PromptTemplate

from ..base import ModelAdapter
from .base import get_guardrails
from .base import get_guardrails, Bedrock
from genai_core.registry import registry


Expand Down Expand Up @@ -62,5 +62,5 @@ def get_prompt(self):

# Register the adapter
registry.register(
r"^bedrock\.cohere\.command-(text|light-text|r).*", BedrockCohereCommandAdapter
r"^bedrock\.cohere\.command-(text|light-text).*", BedrockCohereCommandAdapter
)

0 comments on commit 035ecc0

Please sign in to comment.