process_content#

langchain_community.chat_models.reka.process_content(content: str | List[str | Dict[str, Any]]) List[Dict[str, Any]][source]#

Process content to handle both text and media inputs, returning a list of content items.

Parameters:

content (str | List[str | Dict[str, Any]])

Return type:

List[Dict[str, Any]]