import { ChatCompletionRequestMessage } from "openai" import { Video, VideoAPIRequest } from "../types.mts" import { generateYAML } from "./openai/generateYAML.mts" import { HallucinatedVideoRequest, OpenAIErrorResponse } from "./types.mts" import { getQueryChatMessages } from "../preproduction/prompts.mts" import { getValidNumber } from "../utils/getValidNumber.mts" import { parseShotRequest } from "../utils/parseShotRequest.mts" export const enrichVideoSpecsUsingLLM = async (video: Video): Promise