ChatGPT Retrieval Plugin | Render

ChatGPT Retrieval Plugin

The ChatGPT Retrieval Plugin lets you easily search and find personal or work documents by asking questions in everyday language.

Why deploy ChatGPT Retrieval Plugin on Render?

ChatGPT Retrieval Plugin is an open-source plugin that enables ChatGPT to search and retrieve information from custom document collections using vector embeddings. It solves the problem of giving ChatGPT access to private, up-to-date, or domain-specific knowledge that isn't part of its training data.

This template wires together the ChatGPT Retrieval Plugin FastAPI server with a self-hosted Weaviate vector database, complete with persistent storage and auto-generated bearer tokens—no manual service orchestration or environment variable juggling required. You skip the complexity of configuring Weaviate's disk persistence, connecting it to the FastAPI server, and setting up authentication, which would typically take hours of documentation diving. Render's Blueprint handles the multi-service deployment in one click, and you can scale the FastAPI server horizontally or upgrade plans directly from the dashboard as your retrieval needs grow.

Architecture

What you can build

After deploying, you'll have a self-hosted ChatGPT Retrieval Plugin server paired with a Weaviate vector database, ready to accept document uploads and serve semantic search queries via API. This lets you connect ChatGPT to your own documents so it can answer questions using your private data. The setup runs at approximately $15/month on Render's Starter plan.

Key features

Use cases

What's included

Service Type Purpose
retrieval-plugin-server Web Service Application service
weaviate-data Private Service Application service

Prerequisites

Next steps

  1. Open the FastAPI docs at your server URL with /docs appended — You should see the Swagger UI with endpoints like /upsert, /query, and /delete listed and ready to test
  2. Upload a test document using the /upsert endpoint with a sample text payload and your bearer token from the Render Environment tab — You should receive a 200 response and the document ID confirming it was stored in Weaviate
  3. Test a semantic search by calling the /query endpoint with a natural language question related to your uploaded document — You should receive a response containing the relevant document chunks with similarity scores

Resources

Repository

render-examples/chatgpt-retrieval-plugin

Stack

Tags

For AI agents

Drop into your coding agent to explore and deploy this template.