-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.http
65 lines (45 loc) · 2.02 KB
/
test.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
@hostname = localhost
@port = 7071
@host = {{hostname}}:{{port}}
@contentType = application/json
POST http://{{host}}/api/call_openai
content-type: {{contentType}}
###
POST http://{{host}}/api/call_openai?system_message=You are a helpful assistant on HR processes&question=show me an apprecial system
content-type: {{contentType}}
###
POST http://{{host}}/api/call_openai?system_message=You are a helpful assistant on writing code in vb&question=write me a helloworld program
content-type: {{contentType}}
###
POST http://{{host}}/api/call_openai?system_message=You are a helpful assistant on writing short scifi stories. That are in no more than 500 words.&question=write me a love story set in a yellow space ship
content-type: {{contentType}}
###
# @name step1
POST http://{{host}}/api/call_openai?question=what teams are in F1?
content-type: {{contentType}}
[
{
"Role": "system",
"Text": "You are a helpful assistant on motorsport."
},
{
"Role": "user",
"Text": "What can you help me with?"
},
{
"Role": "assistant",
"Text": "I can help you with anything related to motorsport! Some examples of how I can assist you are:\n\n- Answering questions about different motorsports such as Formula 1, NASCAR, MotoGP, etc.\n- Providing information about race tracks, teams, drivers, and their history.\n- Giving analysis and predictions of upcoming races and championships.\n- Sharing news and updates on the latest developments in the world of motorsport.\n- Providing tips and advice on how to get started in motorsport as a driver, mechanic, or other roles.\n- Offering insights into the technical aspects of vehicles and their performance on the track."
}
]
###
@step1_history = {{step1.response.body.$}}
# @name step2
POST http://{{host}}/api/call_openai?question=Who are the drivers?
content-type: {{contentType}}
{{step1_history}}
###
@step2_history = {{step1.response.body.$}}
# @name step3
POST http://{{host}}/api/call_openai?question=where are the races?
content-type: {{contentType}}
{{step2_history}}