# yaml-language-server: $schema=https://promptfoo.dev/config-schema.json # Strands Agents SDK Example - Weather Assistant Evaluation # # This configuration evaluates a Strands agent that provides weather information # and temperature conversions. It demonstrates: # - Using a Python provider (file://) to integrate custom agents # https://promptfoo.dev/docs/providers/python/ # - Testing tool usage with contains-any assertions # https://promptfoo.dev/docs/configuration/expected-outputs/#contains # - Using llm-rubric for semantic evaluation of responses # https://promptfoo.dev/docs/configuration/expected-outputs/model-graded/ # - Performance assertions (latency, cost) # https://promptfoo.dev/docs/configuration/expected-outputs/#latency # # Strands Agents SDK by AWS: https://github.com/strands-agents/sdk-python # Strands Documentation: https://strandsagents.com/ description: Strands Agents SDK evaluation # The prompt template - {{query}} is replaced with test case variables prompts: - '{{query}}' # Provider configuration pointing to our Python agent # The file:// prefix tells promptfoo to load a Python module # Format: file://