RAG API Server

This is the API server for the RAG system. The frontend is available at vinaysridhar.com/rag.

Available Endpoints

/api/precomputed-status

Check if precomputed embeddings are available.

Method: GET
curl https://rag.vinaysridhar.com/api/precomputed-status

/api/rag

Query the RAG system.

Method: POST
curl -X POST https://rag.vinaysridhar.com/api/rag \
  -H "Content-Type: application/json" \
  -d '{"query":"Where does Vinay live?"}'

Troubleshooting

If you encounter issues, please refer to the troubleshooting guide.