{"id":18464880,"url":"https://github.com/neondatabase/neon-postgresql-expert","last_synced_at":"2025-07-21T03:34:04.358Z","repository":{"id":222079564,"uuid":"741866830","full_name":"neondatabase/neon-postgresql-expert","owner":"neondatabase","description":"Input for an OpenAI GPT that can answer questions about Neon database and Postgres","archived":false,"fork":false,"pushed_at":"2025-07-14T05:18:22.000Z","size":6120,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-07-14T07:36:35.458Z","etag":null,"topics":["ai","gpt","openai-chatgpt","postgres","postgresql","python"],"latest_commit_sha":null,"homepage":"https://chat.openai.com/g/g-Zb5CCMkXZ-neon-postgresql-expert","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/neondatabase.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-01-11T09:23:17.000Z","updated_at":"2025-07-14T05:18:26.000Z","dependencies_parsed_at":"2024-02-12T09:02:26.035Z","dependency_job_id":"f3fe28e1-7ec0-4980-af9a-2e88e37bb272","html_url":"https://github.com/neondatabase/neon-postgresql-expert","commit_stats":null,"previous_names":["neondatabase/neon-postgresql-expert"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/neondatabase/neon-postgresql-expert","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neondatabase%2Fneon-postgresql-expert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neondatabase%2Fneon-postgresql-expert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neondatabase%2Fneon-postgresql-expert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neondatabase%2Fneon-postgresql-expert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neondatabase","download_url":"https://codeload.github.com/neondatabase/neon-postgresql-expert/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neondatabase%2Fneon-postgresql-expert/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266235512,"owners_count":23897181,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","gpt","openai-chatgpt","postgres","postgresql","python"],"created_at":"2024-11-06T09:11:24.396Z","updated_at":"2025-07-21T03:34:04.340Z","avatar_url":"https://github.com/neondatabase.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# neon-postgresql-expert-gpt\n\n## What is this\n\nOpenAI Chatgpt plus Neon PostgreSQL Expert\n\nHi all, for those of you who have a chatgpt plus subscription, I have created a GPT dedicated to answer  questions about Neon database and Postgres.\nYou can access the GPT here\n[Neon PostgreSQL expert](https://chat.openai.com/g/g-Zb5CCMkXZ-neon-postgresql-expert)\n\n\nNote that current state of the art for large language models (like OpenAI) is that they can invent responses just to be nice to you (hallucinations), so it is recommended to double check the answers in the official neon documentation.\n\nI have also announced this in the neon community here https://community.neon.tech/t/neon-postgresql-expert-gpt/1405\n\nThe content currently added to the GPT (using RAG) is\n\n- all markdown from public github repo https://github.com/neondatabase/website\n- all markdown from public github repo https://github.com/neondatabase/neon\n- the postgres documentation from https://www.postgresql.org\n- some internal postgres documentation we collected\n\nSee the markdown folder for the aggregated markdown files.\n\nTo refresh the markdown files with new content:\n\n- clone the neondatabase/neon repo\n- clone the neondatabase/website repo\n- clone this repo\n- run the script `./createGptInputForNeonRepo.py`\n- run the script `./createGptInputForWebsiteRepo.py`\n\nUpload the files to the GPT (currently only the GPT creator can modify the GPT on chat.openai.com under his account).\n\n## How can you create a gpt\n\nFor those of you interested how you can create a GPT.\n- you need a chatgpt Plus subscription (I don't know of they re-opened the subscription process, for some time it was blocked due to huge demand)\n- In the sidebar under \"Explore\" you can create a new GPT\n- You can use the GPT wizard to come up with a name, icon and custom chatGPT prompt suggestion\n- Important part: you can provide additional knowledge (text documents).\n- The text document formats supported is limited (I used markdown and PDF)\n- The text will be splitted into pieces, added to a vector DB and used for Retrieval Augmented Generation (RAG) - this is all automated by GPT UI in chatGPT Plus\n- The number of documents you can configure is limited to around 20 at the moment. So the custom code I have written is two python scripts, one for each neon repo, to collect all markdown into a single markdown document (with a useful sequence and also useful chapter titles for the slugs from the sidebar.yaml)\n- That's basically it - it is quite simple compared to using langchain or openAI APIs\n\n## Current configuration on chatgpt\n\n![GPT-1](./images/gpt1.png)\n![GPT-2](./images/gpt2.png)\n![GPT-3](./images/gpt3.png)\n![GPT-4](./images/gpt4.png)\n![GPT-5](./images/gpt5.png)\n![GPT-6](./images/gpt6.png)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneondatabase%2Fneon-postgresql-expert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneondatabase%2Fneon-postgresql-expert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneondatabase%2Fneon-postgresql-expert/lists"}