File size: 404 Bytes
c29b3b9
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

echo "Testing ingestion endpoint..."
curl -X POST "http://localhost:8000/ingest" \
     -H "Content-Type: application/json" \
     -d '{"query": "quantum computing", "max_results": 5}'

echo -e "\n\nTesting query endpoint..."
curl -X POST "http://localhost:8000/query" \
     -H "Content-Type: application/json" \
     -d '{"query": "What are the recent advancements in quantum computing?"}'