# Glide AI Generate text issue

**URL:** <https://community.glideapps.com/t/glide-ai-generate-text-issue/70325>\
**Category:** Ask for Help\
**Created:** [January 31, 2024, 2:17pm UTC](https://community.glideapps.com/t/glide-ai-generate-text-issue/70325 "2024-01-31T14:17:09Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Simon\_Hill](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/simon_hill/32/94730_2.png) [@Simon\_Hill](https://community.glideapps.com/u/Simon_Hill)\
**Post date:** [January 31, 2024, 3:06pm UTC](https://community.glideapps.com/t/glide-ai-generate-text-issue/70325/4 "2024-01-31T15:06:57Z")

</div>

I had the same issue. I solved it by adding the following text to my prompt:

Provide the JSON object as a direct response without any additional comments or annotations - only output the JSON object and do not include ```json

example:

> [@Cool use of AI for analyzing a meal](https://community.glideapps.com/t/cool-use-of-ai-for-analyzing-a-meal/69609):
>
> Just sharing a little feature that makes use of the ‘Complete Chat’ AI integration. The App sends an image of some food along with a prompt that asks for a descriptive title, visible ingredients and then an estimate of some nutritional info. I ask the output to be in JSON so that I can easily handle the data. I’m impressed with how meticulous it is at identifying ingredients… and for this use case the data is accurate enough. Nice job Glide! [[Glide AI integration - Analyze my meal] ](https://www.youtube.com/watch?v=WTQrBntWSFo) …

---

_[View the full topic](https://community.glideapps.com/t/glide-ai-generate-text-issue/70325)._
