dpetrak commited on
Commit
6cc6b7a
·
verified ·
1 Parent(s): 692c5d0

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +49 -14
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
- Given is the following task-oriented dialog between a human user (<user>)
12
- and a virtual agent (<system>). Previously, this conversation went wrong
13
- because the virtual agent made a statement that was contextually incorrect.
14
- The human user reacted accordingly (No, I don't think so. I asked for assistance
15
- with my legal dispute.). Generate the user's intent (<intent>), extract the
16
- slot values (<slots>) and generate the next system utterance by considering
17
- the user's emotion (confusion). <dialog> <user> Hey there! How's it going?
18
- <system> Hello! How can I assist you today? <user> I need assistance with my
19
- legal dispute. Can you help me? <intent>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  ```
21
 
22
- This is the expected output sequence:
23
 
24
  ```
25
- <intent> question_answering <slots> <question> I need assistance with my legal
26
- dispute. Can you help me? <system> I apologize for the misunderstanding. How
27
- can I assist you with your legal dispute?
 
 
 
 
28
  ```
 
29
 
30
- (The linebreaks are not necessary and just added to make the sequences more readable.)
 
 
 
 
 
 
 
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
+ ```