phasellm.llms_utils#

Module Contents#

Functions#

extract_vertex_ai_kwargs(→ dict)

Extracts the Vertex AI kwargs from the kwargs dictionary.

extract_vertex_ai_response_metadata(→ dict)

phasellm.llms_utils.extract_vertex_ai_kwargs(kwargs: dict) dict#

Extracts the Vertex AI kwargs from the kwargs dictionary. :param kwargs: The kwargs dictionary.

Returns:

The Vertex AI kwargs.

phasellm.llms_utils.extract_vertex_ai_response_metadata(response) dict#