-
Notifications
You must be signed in to change notification settings - Fork 41
Expand file tree
/
Copy pathtest.http
More file actions
55 lines (42 loc) · 1.07 KB
/
Copy pathtest.http
File metadata and controls
55 lines (42 loc) · 1.07 KB
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
@baseUrl = http://127.0.0.1:8000
### Health check
GET {{baseUrl}}/health
### Chat: question with an answer
POST {{baseUrl}}/chat
Content-Type: application/json
{
"question": "Qual é o SLA para incidentes P1 no plano Enterprise?"
}
### Chat: with debug (query plan, retrieved chunks, selected chunks)
POST {{baseUrl}}/chat
Content-Type: application/json
{
"question": "Qual é o SLA para incidentes P1 no plano Enterprise?",
"debug": true
}
### Chat: without reranking
POST {{baseUrl}}/chat
Content-Type: application/json
{
"question": "Quais formas de pagamento o FCAI Cloud aceita?",
"use_rerank": false,
"debug": true
}
### Chat: ambiguous question (returns needs_clarification=true)
POST {{baseUrl}}/chat
Content-Type: application/json
{
"question": "Como funciona o suporte no plano da empresa?"
}
### Chat: answer not in the knowledge base
POST {{baseUrl}}/chat
Content-Type: application/json
{
"question": "Qual é a capital da França?"
}
### Chat: empty question (returns 400)
POST {{baseUrl}}/chat
Content-Type: application/json
{
"question": " "
}