-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathantriview-.json
More file actions
207 lines (207 loc) · 5.5 KB
/
antriview-.json
File metadata and controls
207 lines (207 loc) · 5.5 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
{
"name": "antriview ",
"nodes": [
{
"name": "start_call",
"type": "start",
"metadata": {
"position": {
"x": 281.00001525878906,
"y": 120.60000228881836
}
}
},
{
"name": "conversation_1751552019231",
"type": "conversation",
"metadata": {
"position": {
"x": 180.3684661804657,
"y": 202.69944042713703
}
},
"prompt": "Greet the user. Inform them that you will get some information from them, to create a perfect interview. Ask the caller for data required to extract. Ask the questions one by one, and await an answer.\n",
"variableExtractionPlan": {
"output": [
{
"enum": [],
"type": "string",
"title": "role",
"description": "What role would you like to train for?"
},
{
"enum": [],
"type": "string",
"title": "type",
"description": "Are you aiming for a technical, behavioral, or mixed interview?"
},
{
"enum": [
"entry",
"mid",
"senior"
],
"type": "string",
"title": "level",
"description": "The job experience level"
},
{
"enum": [],
"type": "string",
"title": "techstack",
"description": "A list of technologies to cover during the job interview."
},
{
"enum": [],
"type": "number",
"title": "amount",
"description": "How many questions would you like to generate?"
}
]
},
"messagePlan": {
"firstMessage": ""
}
},
{
"name": "apiRequest_1751558933271",
"type": "tool",
"metadata": {
"position": {
"x": 189.36745182288445,
"y": 632.6867936283295
}
},
"tool": {
"url": "https://antriview.vercel.app/api/vapi/generate",
"body": {
"type": "object",
"required": [
"role",
"type",
"level",
"amount",
"userid",
"techstack"
],
"properties": {
"role": {
"type": "string",
"value": "{{ role }}",
"description": ""
},
"type": {
"type": "string",
"value": "{{ type }}",
"description": ""
},
"level": {
"type": "string",
"value": "{{ level }}",
"description": ""
},
"amount": {
"type": "number",
"value": "{{ amount }}",
"description": ""
},
"userid": {
"type": "string",
"value": "{{ userid }}",
"description": ""
},
"techstack": {
"type": "string",
"value": "{{ techstack }}",
"description": ""
}
}
},
"name": "getUserData",
"type": "apiRequest",
"method": "POST",
"function": {
"name": "untitled_tool",
"parameters": {
"type": "object",
"required": [],
"properties": {}
}
},
"messages": [
{
"type": "request-start",
"content": "Please hold on. I'm sending a request to the app.",
"blocking": true
},
{
"role": "assistant",
"type": "request-complete",
"content": "The request has been sent and your interview has been generated. Thank you for the call! Bye!",
"endCallAfterSpokenEnabled": true
},
{
"type": "request-failed",
"content": "Oops! Looks like something went wrong when sending the data to the app! Please try again.",
"endCallAfterSpokenEnabled": true
}
]
}
},
{
"name": "hangup_1751617600243",
"type": "tool",
"metadata": {
"position": {
"x": 192.9291205385132,
"y": 861.1969946049213
}
},
"tool": {
"type": "endCall",
"function": {
"name": "untitled_tool",
"parameters": {
"type": "object",
"required": [],
"properties": {}
}
},
"messages": [
{
"type": "request-start",
"content": "Everything has been generated. I'll redirect you to the dashboard now, thanks for the call!",
"blocking": true
}
]
}
}
],
"edges": [
{
"from": "start_call",
"to": "conversation_1751552019231",
"condition": {
"type": "ai",
"prompt": ""
}
},
{
"from": "conversation_1751552019231",
"to": "apiRequest_1751558933271",
"condition": {
"type": "ai",
"prompt": "If user provided all the data to be extracted."
}
},
{
"from": "apiRequest_1751558933271",
"to": "hangup_1751617600243",
"condition": {
"type": "ai",
"prompt": ""
}
}
],
"globalPrompt": "You are a voice assistant helping with creating new AI interviewers. Your task is to collect data from the user. Remember that this is a voice conversation - do not use any special characters."
}