Toggle Menu
Prev Up Next

# `langchain_community.chat_models.friendli`.get_chat_request

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

  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]