Skip to main content

Documentation Index

Fetch the complete documentation index at: https://www.getmaxim.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

View module source on GitHub

OpenAIUtils

class OpenAIUtils()

parse_completion_from_chunks

@staticmethod
def parse_completion_from_chunks(
        chunks: List[ChatCompletionChunk]) -> Dict[str, Any]
Convert a list of ChatCompletionChunk objects into a combined response format.