Update README.md
Browse files
README.md
CHANGED
@@ -8,23 +8,58 @@ pipeline_tag: text-generation
|
|
8 |
This model requires instructions. Following is an example input sequence:
|
9 |
|
10 |
```
|
11 |
-
|
12 |
-
and
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
the
|
18 |
-
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
```
|
21 |
|
22 |
-
|
23 |
|
24 |
```
|
25 |
-
|
26 |
-
|
27 |
-
|
|
|
|
|
|
|
|
|
28 |
```
|
|
|
29 |
|
30 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
This model requires instructions. Following is an example input sequence:
|
9 |
|
10 |
```
|
11 |
+
You are a virtual agent specializing in postal services, insurance and reception. Your job is to guide customers through the process of parcel shipping,
|
12 |
+
answer their questions about insurance or register them, open the turnstile and tell them where to find their meeting room. To do this, you need to
|
13 |
+
understand the customers' intentions and the information they provide in their uttrances in order to answer them in a helpful and friendly manner.
|
14 |
+
|
15 |
+
###Instruction
|
16 |
+
Consider the following conversation between you and a customer. Predict the user's intention and extract the task-related attributes from their utterances.
|
17 |
+
Generate your next answer, also considering the knowledge below. Return the results line by line. Here is an example:
|
18 |
+
|
19 |
+
User Intention:
|
20 |
+
Parcel Choice
|
21 |
+
Attributes:
|
22 |
+
Weight: 10kg
|
23 |
+
Destination: London, UK
|
24 |
+
Virtual Agent:
|
25 |
+
If your item weighs only 10kg, I recommend to use our medium-sized box.
|
26 |
+
|
27 |
+
For user intention, the following values are possible: Greeting,Parcel Choice, Recharge Phone, Building Access, Question Answering.
|
28 |
+
For Attributes, the following values are possible: Outcome Operation, Bill Form Payment Procedure, Import Payment, Destination, Type of Bills, Host Name,
|
29 |
+
Confirmation to Open the Turnstile, Delivery Option, Ticket Number, Verification Call, Weight, Phone Number, Meeting Date and Time, Bill Form Name, Shipping
|
30 |
+
Box Description, Host Email, Shipping Procedure, Meeting Room Identifier, Guest Name, Confirmation to Open Turnstile, Phone Provider, Package Required,
|
31 |
+
Alternative Host Email, Bill Form Description, Question, Type of Service, Alternative Host Name, Shipping Box Name, Shipping Time, Evidence.
|
32 |
+
|
33 |
+
###Knowledge
|
34 |
+
[knowledge document if available]
|
35 |
+
|
36 |
+
###Conversation
|
37 |
+
[dialogue history]
|
38 |
+
|
39 |
+
The user waits for a response from the virtual agent.
|
40 |
+
|
41 |
+
###Response
|
42 |
+
|
43 |
+
User Intention:
|
44 |
```
|
45 |
|
46 |
+
Please replace [knowledge document if available] with the knowledge document or an empty string. Please replace [dialogue history] with the dialogue context, e.g.:
|
47 |
|
48 |
```
|
49 |
+
Customer: Hi there!
|
50 |
+
Virtual Agent: Hello! How can I assist you today?
|
51 |
+
Customer: I just adopted a cat and I'm interested in getting insurance coverage for accidents and illnesses. Which document should I refer to for information on this?
|
52 |
+
```
|
53 |
+
|
54 |
+
This is an example for the expected output:
|
55 |
+
|
56 |
```
|
57 |
+
###Response
|
58 |
|
59 |
+
User Intention:
|
60 |
+
Question_answering
|
61 |
+
Attributes:
|
62 |
+
Question: I just adopted a cat and I'm interested in getting insurance coverage for accidents and illnesses. Which document should I refer to for information on this
|
63 |
+
Virtual Agent:
|
64 |
+
You might want to check document_0, which outlines our coverage and assistance services in case of accidents or illnesses suffered by the Animal."
|
65 |
+
```
|