TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Connected OpenAI to My Postgres DB

8 pointsby toshvelagaabout 2 years ago
Created an app that connect OpenAI to my production postgres DB using langchain.<p>App: https:&#x2F;&#x2F;askmydb.vercel.app&#x2F;<p>Check out the demo: https:&#x2F;&#x2F;www.loom.com&#x2F;share&#x2F;108e23873cfc41edbb8923cc86edccb3<p>Built using Next JS, Vercel, AWS Lambda and langchain. Everything is stored locally on the user&#x27;s computer.

1 comment

chmilevfaabout 2 years ago
How does it know how to extract the related data? I could imagine how it could work with fairly popular &quot;user&quot; table with popular fields (from your loom video example). But it&#x27;s not clear to me how it might work with more business specific data and tables&#x2F;fields. + What&#x27;s the full prompt used?