This demo showcases how the Arch can be used to manage insurance-related tasks such as policy inquiries, initiating policies, and updating claims or deductibles. In this demo, the assistant provides factual information related to insurance policies (e.g., car, boat, house, motorcycle).
The system can perform a variety of tasks, such as answering insurance-related questions, retrieving policy coverage details, initiating policies, and updating claims or deductibles.
-
Policy Q/A: Handles general Q&A related to insurance policies.
- Endpoint:
/policy/qa
- This function answers general inquiries related to insurance, such as coverage details or policy types. It is the default target for insurance-related queries.
- Endpoint:
-
Get Policy Coverage: Retrieves the coverage details for a given policy type (car, boat, house, motorcycle).
- Endpoint:
/policy/coverage
- Parameters:
policy_type
(required): The type of policy. Available options:car
,boat
,house
,motorcycle
. Defaults tocar
.
- Endpoint:
-
Initiate Policy: Starts a policy coverage for car, boat, motorcycle, or house.
- Endpoint:
/policy/initiate
- Parameters:
policy_type
(required): The type of policy. Available options:car
,boat
,house
,motorcycle
. Defaults tocar
.deductible
(required): The deductible amount set for the policy.
- Endpoint:
-
Update Claim: Updates the notes on a specific insurance claim.
- Endpoint:
/policy/claim
- Parameters:
claim_id
(required): The claim number.notes
(optional): Notes about the claim number for the adjustor to see.
- Endpoint:
-
Update Deductible: Updates the deductible amount for a specific policy coverage.
- Endpoint:
/policy/deductible
- Parameters:
policy_id
(required): The ID of the policy.deductible
(required): The deductible amount to be set for the policy.
- Endpoint:
Arch is designed to intelligently routes prompts to the appropriate functions based on the target, allowing for seamless interaction with various insurance-related services.
- Please make sure the pre-requisites are installed correctly
- Start Arch
sh run_demo.sh
- Navigate to http://localhost:18080/
- Tell me what can you do for me?"
Arch gateway publishes stats endpoint at http://localhost:19901/stats. In this demo we are using prometheus to pull stats from arch and we are using grafana to visalize the stats in dashboard. To see grafana dashboard follow instructions below,
- Start grafana and prometheus using following command
docker compose --profile monitoring up
- Navigate to http://localhost:3000/ to open grafana UI (use admin/grafana as credentials)
- From grafana left nav click on dashboards and select "Intelligent Gateway Overview" to view arch gateway stats