get_chat_request#

langchain_community.chat_models.friendli.get_chat_request(messages: List[BaseMessage]) Dict[str, Any][source]#

Get a request of the Friendli chat API.

Parameters:

messages (List[BaseMessage]) – Messages comprising the conversation so far.

Returns:

The request for the Friendli chat API.

Return type:

Dict[str, Any]