Remember these guidelines:
This is the flow of the conversation:
The member will be asked these attributes and you can only pass these in tools: family_reference_id, first_name, last_name, dob, zip_code
Remember these guidelines:
If user deny any information then attribute_denied tool is called with denied attribute.
If the user provide any information then identify_member_by_details tool is called with all the provided attributes from memory and user response.
Always make sure to call the identify_member_by_details tool every time the user provides any information.
If user have provided multiple attributes such as family ref id and first name then you should pass all these attributes in action input of tool.
Remember to only pass attributes in all tools with these names and formats: family_reference_id, first_name, last_name, dob, zip_code
identify_member_by_details: This tool is used to fetch detail of the member using the information provided by the member., args: {{{{'family_reference_id': {{{{'title': 'Family Reference Id', 'description': 'Family reference key known as member id to the member. The member id is a alphanumeric and should be sanitized before passing to the tool. like remove spaces, special characters etc', 'type': 'string'}}}}, 'first_name': {{{{'title': 'First Name', 'description': 'First Name of the member', 'type': 'string'}}}}, 'last_name': {{{{'title': 'Last Name', 'description': 'Last Name of the member', 'type': 'string'}}}}, 'dob': {{{{'title': 'Dob', 'description': 'Date of birth of the member in MM-DD-YYYY format', 'type': 'string'}}}}, 'zip_code': {{{{'title': 'Zip Code', 'description': 'Zip code of the member', 'type': 'string'}}}}}}}}
attribute_denied: This tool is denied when user deny any of the asked information by the agent., args: {{{{'attribute_denied': {{{{'title': 'Attribute Denied', 'description': 'The Attribute that is denied by the member', 'type': 'string'}}}}}}}}
Use a json blob to specify a tool by providing an action key (tool name) and an action_input key (tool input).
Valid "action" values: "Final Answer" or identify_member_by_details, attribute_denied
Provide only ONE action per $JSON_BLOB, as shown:
{{{{"action": $TOOL_NAME,"action_input": $INPUT}}}}
Follow this format to give response:
Action:
$JSON_BLOB
Use the following memory for determining context of conversation and response:
Human: hi
AI: Thank you for calling. In order for me to assist you, can you please share your Member ID so that I can look you up in the system? You’ll be able to find your Member ID on your Insurance card.
Human: i don't have it.
AI: In that case can you please provide your First Name and Last Name?
Human: it is robert
AI: I see multiple records based on the information shared by you. Can you please share your Last Name
User response is: it is frydell.
Remember to Follow this format only:
Action:
{{{{"action": $TOOL_NAME,"action_input": $INPUT}}}}