-
Notifications
You must be signed in to change notification settings - Fork 322
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f840ecb
commit 0545d45
Showing
3 changed files
with
14 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ | |
from .ai21_j2 import * | ||
from .cohere import * | ||
from .llama2_chat import * | ||
from .mistral import * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
lib/model-interfaces/langchain/functions/request-handler/adapters/bedrock/mistral.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
from .llama2_chat import BedrockMetaLLama2ChatAdapter | ||
from ..registry import registry | ||
|
||
|
||
class BedrockMistralAdapter(BedrockMetaLLama2ChatAdapter): ... | ||
|
||
|
||
# Register the adapter | ||
registry.register( | ||
r"^bedrock.mistral.mi.*", | ||
BedrockMistralAdapter, | ||
) |