diff --git a/apps/www/_blog/2023-05-24-chatgpt-plugins-support-postgres.mdx b/apps/www/_blog/2023-05-25-chatgpt-plugins-support-postgres.mdx
similarity index 94%
rename from apps/www/_blog/2023-05-24-chatgpt-plugins-support-postgres.mdx
rename to apps/www/_blog/2023-05-25-chatgpt-plugins-support-postgres.mdx
index f2e7387442c..1e132397134 100644
--- a/apps/www/_blog/2023-05-24-chatgpt-plugins-support-postgres.mdx
+++ b/apps/www/_blog/2023-05-25-chatgpt-plugins-support-postgres.mdx
@@ -5,11 +5,11 @@ tags:
- AI
- tutorial
- postgres
-date: '2023-05-24'
+date: '2023-05-25'
toc_depth: 2
author: egor_romanov,paul_copplestone
-image: 2023-05-24-chatgpt-plugins-support-postgres/chatgpt-plugins-support-postgres.jpeg
-thumb: 2023-05-24-chatgpt-plugins-support-postgres/chatgpt-plugins-support-postgres.jpeg
+image: 2023-05-25-chatgpt-plugins-support-postgres/chatgpt-plugins-support-postgres.jpeg
+thumb: 2023-05-25-chatgpt-plugins-support-postgres/chatgpt-plugins-support-postgres.jpeg
---
One of the challenges that ChatGPT faces is being able to answer questions from a private dataset. We can solve this with “retrieval plugins”, which allow ChatGPT to access information from a database.
@@ -132,13 +132,13 @@ This will require several steps:
### Step 1: Fork the ChatGPT Retrieval Plugin repository
@@ -189,7 +189,7 @@ Using `supabase-cli` is not required and you can use any other docker image or h
To create embeddings Plugin uses OpenAI API and `text-embedding-ada-002` model. Each time we add some data to our datastore, or try to query relevant information from it, embedding will be created either for inserted data chunk, or for the query itself. To make it work we need to export `OPENAI_API_KEY`. If you already have an account in OpenAI, you just need to go to [User Settings - API keys](https://platform.openai.com/account/api-keys) and Create new secret key.
-
+
### Step 6: Run the plugin!
@@ -234,23 +234,23 @@ Now, it is time to add our plugin to ChatGPT.
To integrate our plugin with ChatGPT, register it in the ChatGPT dashboard. Assuming you have access to ChatGPT Plugins and plugin development, select the Plugins model in a new chat, then choose "Plugin store" and "Develop your own plugin." Enter `localhost:3333` into the domain input, and your plugin is now part of ChatGPT.
-
+
-
+
-
+
You can now ask questions about Postgres and receive answers derived from the documentation!
Let's try it out: ask ChatGPT to find out when to use `check` and when to use `using`. You will be able to see what queries were sent to our plugin and what it responded to.
-
+
-
+
And after ChatGPT receives a response from the plugin it will answer your question with the data from the documentation.
-
+
## Wrap up
diff --git a/apps/www/public/images/blog/2023-05-24-chatgpt-plugins-support-postgres/ask-chatgpt.png b/apps/www/public/images/blog/2023-05-25-chatgpt-plugins-support-postgres/ask-chatgpt.png
similarity index 100%
rename from apps/www/public/images/blog/2023-05-24-chatgpt-plugins-support-postgres/ask-chatgpt.png
rename to apps/www/public/images/blog/2023-05-25-chatgpt-plugins-support-postgres/ask-chatgpt.png
diff --git a/apps/www/public/images/blog/2023-05-24-chatgpt-plugins-support-postgres/chatgpt-change-model.png b/apps/www/public/images/blog/2023-05-25-chatgpt-plugins-support-postgres/chatgpt-change-model.png
similarity index 100%
rename from apps/www/public/images/blog/2023-05-24-chatgpt-plugins-support-postgres/chatgpt-change-model.png
rename to apps/www/public/images/blog/2023-05-25-chatgpt-plugins-support-postgres/chatgpt-change-model.png
diff --git a/apps/www/public/images/blog/2023-05-24-chatgpt-plugins-support-postgres/chatgpt-local-plugin.png b/apps/www/public/images/blog/2023-05-25-chatgpt-plugins-support-postgres/chatgpt-local-plugin.png
similarity index 100%
rename from apps/www/public/images/blog/2023-05-24-chatgpt-plugins-support-postgres/chatgpt-local-plugin.png
rename to apps/www/public/images/blog/2023-05-25-chatgpt-plugins-support-postgres/chatgpt-local-plugin.png
diff --git a/apps/www/public/images/blog/2023-05-24-chatgpt-plugins-support-postgres/chatgpt-plugin-scheme--dark.svg b/apps/www/public/images/blog/2023-05-25-chatgpt-plugins-support-postgres/chatgpt-plugin-scheme--dark.svg
similarity index 100%
rename from apps/www/public/images/blog/2023-05-24-chatgpt-plugins-support-postgres/chatgpt-plugin-scheme--dark.svg
rename to apps/www/public/images/blog/2023-05-25-chatgpt-plugins-support-postgres/chatgpt-plugin-scheme--dark.svg
diff --git a/apps/www/public/images/blog/2023-05-24-chatgpt-plugins-support-postgres/chatgpt-plugin-scheme--light.svg b/apps/www/public/images/blog/2023-05-25-chatgpt-plugins-support-postgres/chatgpt-plugin-scheme--light.svg
similarity index 100%
rename from apps/www/public/images/blog/2023-05-24-chatgpt-plugins-support-postgres/chatgpt-plugin-scheme--light.svg
rename to apps/www/public/images/blog/2023-05-25-chatgpt-plugins-support-postgres/chatgpt-plugin-scheme--light.svg
diff --git a/apps/www/public/images/blog/2023-05-24-chatgpt-plugins-support-postgres/chatgpt-plugin-store.png b/apps/www/public/images/blog/2023-05-25-chatgpt-plugins-support-postgres/chatgpt-plugin-store.png
similarity index 100%
rename from apps/www/public/images/blog/2023-05-24-chatgpt-plugins-support-postgres/chatgpt-plugin-store.png
rename to apps/www/public/images/blog/2023-05-25-chatgpt-plugins-support-postgres/chatgpt-plugin-store.png
diff --git a/apps/www/public/images/blog/2023-05-24-chatgpt-plugins-support-postgres/chatgpt-query.png b/apps/www/public/images/blog/2023-05-25-chatgpt-plugins-support-postgres/chatgpt-query.png
similarity index 100%
rename from apps/www/public/images/blog/2023-05-24-chatgpt-plugins-support-postgres/chatgpt-query.png
rename to apps/www/public/images/blog/2023-05-25-chatgpt-plugins-support-postgres/chatgpt-query.png
diff --git a/apps/www/public/images/blog/2023-05-24-chatgpt-plugins-support-postgres/chatgpt-reply.png b/apps/www/public/images/blog/2023-05-25-chatgpt-plugins-support-postgres/chatgpt-reply.png
similarity index 100%
rename from apps/www/public/images/blog/2023-05-24-chatgpt-plugins-support-postgres/chatgpt-reply.png
rename to apps/www/public/images/blog/2023-05-25-chatgpt-plugins-support-postgres/chatgpt-reply.png
diff --git a/apps/www/public/images/blog/2023-05-24-chatgpt-plugins-support-postgres/openai-secret-keys.png b/apps/www/public/images/blog/2023-05-25-chatgpt-plugins-support-postgres/openai-secret-keys.png
similarity index 100%
rename from apps/www/public/images/blog/2023-05-24-chatgpt-plugins-support-postgres/openai-secret-keys.png
rename to apps/www/public/images/blog/2023-05-25-chatgpt-plugins-support-postgres/openai-secret-keys.png