0.1.1 • Published 6 months ago

@twilio-alpha/assistants-eval v0.1.1

Weekly downloads
-
License
-
Repository
-
Last release
6 months ago

Twilio AI Assistants Evaluation

This repository contains the extentions to the promptfoo.dev framework for test your Twilio AI Assistant.

Installation

  1. Install and setup promptfoo as described in the promptfoo.dev documentation.
  2. Install this extension using npm install @twilio-alpha/assistants-eval.
  3. Create a target in your promptfoo config yaml:
targets:
  - id: package:@twilio-alpha/assistants-eval:TwilioAgentProvider
    label: TwilioProvider
    config:
      assistantId: aia_asst_abc123
      accountSid: ACXXX
      authTokenKey: TWILIO_AUTH_TOKEN

Usage

Consult promptfoo.dev for general usage instructions on how to use promptfoo.

Configuration Options

  • assistantId: string The ID of the Twilio AI Assistant you want to test.
  • accountSid: string The Twilio Account SID.
  • authTokenKey: string The environment variable key that contains the Twilio Auth Token.
  • sessionId?: string The session ID to use for the conversation. If no sessionId is provided a random UUID will be generated.
  • identity?: string The identity of the user. Defaults to test-evaluator.
0.1.1

6 months ago

0.0.2

8 months ago

0.0.1

8 months ago