-
Notifications
You must be signed in to change notification settings - Fork 0
/
test_rest.http
75 lines (65 loc) · 1.32 KB
/
test_rest.http
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
66
67
68
69
70
71
72
73
74
75
POST http://localhost:5000/api/complete-post
Content-Type: application/json
{
"prefix" : "I think you really should",
"temperature" : 0.9,
"mood" : "frenetic",
"ours" : "false"
}
####
POST http://localhost:5000/api/create-incontext-post
Content-Type: application/json
{
"context" : [
{
"input": "Hi Dude",
"output": "Hi man, what are you up to ?",
"ts": 123918273,
"source": "lm"
},
{
"input": "Not much, working mostly.",
"output": "Thats too bad im in Malaga !",
"ts": 123918373,
"source": "lm"
}
],
"temperature" : 0.4
}
####
POST http://lmb.io/api/create-incontext-post
Content-Type: application/json
{
"context" : [
{
"input": "Hi Dude",
"output": "Hi man, what are you up to ?",
"ts": 123918273,
"source": "lm"
},
{
"input": "Not much, working mostly.",
"output": "Thats too bad im in Malaga !",
"ts": 123918373,
"source": "lm"
}
],
"temperature" : 0.8
}
####
POST http://lmb.io/api/complete-post
Content-Type: application/json
{
"prefix" : "I think my hovercraft is slightly",
"temperature" : 0.8
}
###
POST http://localhost:5000/api/self-description
Content-Type: application/json
{
"prefix" : "",
"temperature" : 0.9,
"mood" : "frenetic",
"ours" : "false",
"use_entity": "frue"
}