-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: removed name parameter from chat message
- Loading branch information
1 parent
b766c77
commit a34b62a
Showing
3 changed files
with
6 additions
and
13 deletions.
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 |
---|---|---|
@@ -1,12 +1,10 @@ | ||
from dataclasses import dataclass | ||
from typing import Optional | ||
|
||
from ai21.models.role_type import RoleType | ||
from ai21.models.ai21_base_model_mixin import AI21BaseModelMixin | ||
from ai21.models.role_type import RoleType | ||
|
||
|
||
@dataclass | ||
class ChatMessage(AI21BaseModelMixin): | ||
role: RoleType | ||
text: str | ||
name: Optional[str] = None |
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
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