I am making request to API of openAI/Gemini and getting the response, so how can i format it as every time the API response (markdown) changes frequently.