Skip to content

System entity detection 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
interactions:
  - id: test_1_4
    user: 
      type: text
      text: hi
    agent:
      validate:
        - type: similarity
          algorithm: levenshtein
          value: hello
          threshold: 0.4
          configuration-levenshtein:
            casesensitive: false