def bedrock_converse_with_application_inference_profile(
    mock_boto3_session, mock_aioboto3_session
):
    """
    Create a BedrockConverse client that uses an application inference profile for invoking the LLM.
    See AWS documentation for details about creating and using application inference profiles.
    """
    return BedrockConverse(
        model=EXP_MODEL,
        max_tokens=EXP_MAX_TOKENS,
        temperature=EXP_TEMPERATURE,
        guardrail_identifier=EXP_GUARDRAIL_ID,
        guardrail_version=EXP_GUARDRAIL_VERSION,
        application_inference_profile_arn=EXP_APP_INF_PROFILE_ARN,
        trace=EXP_GUARDRAIL_TRACE,
        callback_manager=CallbackManager(),
    )

    Create a BedrockConverse client that uses an application inference profile for invoking the LLM.
    See AWS documentation for details about creating and using application inference profiles.
    
llama-index-integrations/llms/llama-index-llms-bedrock-converse/tests/test_llms_bedrock_converse.py