You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generating questions from Gemini returns the result with some extra characters. The current solution is using responseText.replaceAll("\n", "").replaceAll("```json{ ", "").replaceAll("\"questions\":", "").replaceAll("}```", "").replaceAll(" ", "").replaceAll("```json", "").replaceAll("```", "") but on testing is has not been 100% successful as Gemini can change the format of it's response.
The text was updated successfully, but these errors were encountered:
Generating questions from Gemini returns the result with some extra characters. The current solution is using
responseText.replaceAll("\n", "").replaceAll("```json{ ", "").replaceAll("\"questions\":", "").replaceAll("}```", "").replaceAll(" ", "").replaceAll("```json", "").replaceAll("```", "")
but on testing is has not been 100% successful as Gemini can change the format of it's response.The text was updated successfully, but these errors were encountered: