get_customer_by_email()¶
Tool Class¶
This is a domain specific tool and is used to get customer details in an ecommerce context. This is typically used when the customer does not have his / her customer id handy.
Tool Function¶
Given a email this tool returns the details of the customer from the customers dataset. It will return an error message if the customer cannot be found.
Caveats¶
None
Usage Example¶
customer = get_customer_by_email(email='abhinav6671@somemail.com')
"""