from handler import EndpointHandler # init handler my_handler = EndpointHandler(path=".") # prepare sample payload payload = {"inputs": { "context": """

Company Information

Welcome to the official website of ExampleCorp.

About Us

ExampleCorp is a leading provider of innovative tech solutions.

Contact Information

Email: contact@example.com

Phone: +1-800-555-1234

""", "question": "What is the email address?"}} # test the handler pred=my_handler(payload) # show results print("pred", pred)