Skip to content

Commit

Permalink
fix: Added ChatMessageParam to __init__
Browse files Browse the repository at this point in the history
  • Loading branch information
Josephasafg committed Aug 21, 2024
1 parent 6133331 commit 17d6628
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ai21/models/chat/__init__.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
from __future__ import annotations

from .chat_completion_chunk import ChatCompletionChunk, ChoicesChunk, ChoiceDelta
from .chat_completion_response import ChatCompletionResponse
from .chat_completion_response import ChatCompletionResponseChoice
from .chat_message import ChatMessage, AssistantMessage, ToolMessage, UserMessage, SystemMessage
from .chat_message import ChatMessage, AssistantMessage, ToolMessage, UserMessage, SystemMessage, ChatMessageParam
from .document_schema import DocumentSchema
from .function_tool_definition import FunctionToolDefinition
from .response_format import ResponseFormat
from .role_type import RoleType as RoleType
from .chat_completion_chunk import ChatCompletionChunk, ChoicesChunk, ChoiceDelta
from .tool_call import ToolCall
from .tool_defintions import ToolDefinition
from .tool_function import ToolFunction
from .tool_parameters import ToolParameters


__all__ = [
"ChatCompletionResponse",
"ChatCompletionResponseChoice",
Expand All @@ -26,6 +25,7 @@
"ToolMessage",
"UserMessage",
"SystemMessage",
"ChatMessageParam",
"DocumentSchema",
"FunctionToolDefinition",
"ResponseFormat",
Expand Down

0 comments on commit 17d6628

Please sign in to comment.