GrimmForged RAG Upload Test
Test the document upload API endpoint with OpenAI embeddings.
API Documentation
Endpoint: POST /api/rag/upload
Request Body:
{
"text": "string (required)",
"owner": "string (optional, default: demo-owner)",
"module": "string (optional, default: general)"
}cURL Example:
curl -X POST https://wolfgang-ppjhgmbwq-twin-grimm.vercel.app/api/rag/upload \
-H "Content-Type: application/json" \
-d '{"text":"Test document","owner":"demo","module":"general"}'