•   almost 2 years ago

Gemini API JSON output includes markers

Hi! I am using the Gemini API with the JSON output so I can use that for my front end part of the application, however I notice that the API is sending the response as follows:

``` json
[Valid JSON output here]
```
The response includes the markdowns so now I need to do quick data cleanup. Which seems counterintuitive since Gemini API is supposed to be easy to use.

Comments are closed.