Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
language:
|
4 |
+
- en
|
5 |
+
pipeline_tag: text-generation
|
6 |
+
---
|
7 |
+
|
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 |
+
[emotion if available]
|
40 |
+
|
41 |
+
###Response
|
42 |
+
|
43 |
+
User Intention:
|
44 |
+
```
|
45 |
+
|
46 |
+
Please replace [knowledge document if available] with the knowledge document or an empty string and [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 |
+
Replace [emotion] with the user emotion, e.g., "The user is curious.".
|
55 |
+
|
56 |
+
This is an example for the expected output:
|
57 |
+
|
58 |
+
```
|
59 |
+
###Response
|
60 |
+
|
61 |
+
User Intention:
|
62 |
+
Question_answering
|
63 |
+
Attributes:
|
64 |
+
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
|
65 |
+
Virtual Agent:
|
66 |
+
You might want to check document_0, which outlines our coverage and assistance services in case of accidents or illnesses suffered by the Animal."
|
67 |
+
```
|