Skip to content

Commit

Permalink
Added assistant support to banks for few shot learning (#31)
Browse files Browse the repository at this point in the history
* added assistant support to banks for few shot learning

* Update src/banks/extensions/chat.py

Co-authored-by: Massimiliano Pippi <mpippi@gmail.com>

---------

Co-authored-by: Massimiliano Pippi <mpippi@gmail.com>
  • Loading branch information
ArmykOliva and masci authored Jan 30, 2025
1 parent 0db010e commit ae88078
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/banks/extensions/chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from banks.types import ChatMessage, ContentBlock, ContentBlockType

SUPPORTED_TYPES = ("system", "user")
SUPPORTED_TYPES = ("system", "user", "assistant")
CONTENT_BLOCK_REGEX = re.compile(r"<content_block>((?s:.)*)<\/content_block>")


Expand Down

0 comments on commit ae88078

Please sign in to comment.