JambaChatCompletionsAdapter#

class langchain_ai21.chat.chat_adapter.JambaChatCompletionsAdapter[source]#

Jamba่ŠๅคฉๅฎŒๆˆ็š„้€‚้…ๅ™จใ€‚

ๆ–นๆณ•

call()

convert_messages(messages)

call(client: Any, stream: Literal[True], **params: Any) โ†’ Iterator[ChatGenerationChunk][source]#
call(client: Any, stream: Literal[False], **params: Any) โ†’ List[BaseMessage]
convert_messages(messages: List[BaseMessage]) โ†’ Dict[str, Any][source]#
Parameters:

ๆถˆๆฏ (ๅˆ—่กจ[BaseMessage])

Return type:

Dict[str, Any]