function parseChatCompletionimport { parseChatCompletion } from "https://deno.land/x/openai@v4.56.0/lib/parser.ts"; parseChatCompletion<Params extends ChatCompletionCreateParams, ParsedT = ExtractParsedContentFromParams<Params>>(completion: ChatCompletion, params: Params): ParsedChatCompletion<ParsedT>Type ParametersParams extends ChatCompletionCreateParamsoptionalParsedT = ExtractParsedContentFromParams<Params>Parameterscompletion: ChatCompletionparams: ParamsReturnsParsedChatCompletion<ParsedT>