-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathrequest.sh
65 lines (55 loc) · 1.74 KB
/
request.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# curl --silent \
# -H "Content-Type: application/json" \
# -X POST \
# -d '{"prompt": "quem progrediu abaixo de 80%"}' \
# http://localhost:3002/v1/chat
# curl --silent \
# -H "Content-Type: application/json" \
# -X POST \
# -d '{"prompt": "quem tem progresso abaixo de 80%"}' \
# http://localhost:3002/v1/chat
# curl --silent \
# -H "Content-Type: application/json" \
# -X POST \
# -d '{"prompt": "quem progrediu acima de 80%"}' \
# http://localhost:3002/v1/chat
# curl --silent \
# -H "Content-Type: application/json" \
# -X POST \
# -d '{"prompt": "quem tem progresso acima de 80%"}' \
# http://localhost:3002/v1/chat
curl --silent \
-H "Content-Type: application/json" \
-X POST \
-d '{"prompt": "what students has a progress over 50%"}' \
http://localhost:3002/v1/chat
curl --silent \
-H "Content-Type: application/json" \
-X POST \
-d '{"prompt": "how many students bought the Formação JavaScript Expert course"}' \
http://localhost:3002/v1/chat
curl --silent \
-H "Content-Type: application/json" \
-X POST \
-d '{"prompt": "quantos alunos ingressaram no curso Criando seu Próprio App Zoom com WebRTC e WebSockets"}' \
http://localhost:3002/v1/chat
curl --silent \
-H "Content-Type: application/json" \
-X POST \
-d '{"prompt": "quantas vendas aconteceram"}' \
http://localhost:3002/v1/chat
curl --silent \
-H "Content-Type: application/json" \
-X POST \
-d '{"prompt": "quantos reembolsos tiveram?"}' \
http://localhost:3002/v1/chat
curl --silent \
-H "Content-Type: application/json" \
-X POST \
-d '{"prompt": "qual a quantidade de reembolsos?"}' \
http://localhost:3002/v1/chat
curl --silent \
-H "Content-Type: application/json" \
-X POST \
-d '{"prompt": "quem são os alunos que possuem progresso maior que 50%?"}' \
http://localhost:3002/v1/chat