Skip to content

Simple example

Suite file

# suite.yaml

name: Example Suite
description: Suite used as an example
projectId: test-cx-346408
locationId: us-central1
agentName: test-agent
tests:
  - id: test_id
    file: ./test.yaml

Test file

# test.yaml

name: Example test
description: These are some tests
localeId: en
checks:
  - id: my_first_check
    input: 
      type: text
      text: hi
    validate:
      intent: hi_intent

  - id: my_second_check
    input: 
      type: text
      text: hello
    validate:
      intent: hi_intent