# Discourse AI + Data Explorer?

**URL:** <https://meta.discourse.org/t/discourse-ai-data-explorer/274011>\
**Category:** Feature\
**Tags:** data-explorer, completed, ai, ai-bot\
**Created:** [August 4, 2023, 6:54pm UTC](https://meta.discourse.org/t/discourse-ai-data-explorer/274011 "2023-08-04T18:54:32Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)\
**Post date:** [August 6, 2023, 3:01pm UTC](https://meta.discourse.org/t/discourse-ai-data-explorer/274011/6 "2023-08-06T15:01:31Z")

</div>

> [@simon](#):
>
> I’ve gotten good results when asking it to return a PostgreSQL query and copying the structure of the tables I’m interested in into the prompt.

oh this is great, i’ve been having mixed results with chatGPT [data explorer](https://meta.discourse.org/t/32566?silent=true) sql queries but doing it this way makes so much sense. i didn’t even think of providing table structure and asking for postgreSQL queries. 🤦🏻‍♀️ thank you for the tip @simon 🙂

---

_[View the full topic](https://meta.discourse.org/t/discourse-ai-data-explorer/274011)._
