Are you sure you want to delete this access key?
To get started, you need to set up authentication and project ID. You can choose between two authentication methods:
Option 1: IAM Authentication
export WATSONX_AI_AUTH_TYPE=iam
export WATSONX_AI_APIKEY=your-ibm-cloud-api-key
Option 2: Bearer Token Authentication
export WATSONX_AI_AUTH_TYPE=bearertoken
export WATSONX_AI_BEARER_TOKEN=your-ibm-cloud-bearer-token
Then set your project ID:
export WATSONX_AI_PROJECT_ID=your-ibm-project-id
Note: If WATSONX_AI_AUTH_TYPE
is not set, the provider will automatically choose the authentication method based on which credentials are available, preferring IAM authentication if both are present.
Follow the instructions in watsonx.md to retrieve your API keys, bearer token, and project ID.
Next, edit promptfooconfig.yaml.
Then run:
npm run local -- eval --config examples/watsonx/promptfooconfig.yaml
or
promptfoo eval
Afterwards, you can view the results by running promptfoo view
Press p or to see the previous file or, n or to see the next file
Browsing data directories saved to S3 is possible with DAGsHub. Let's configure your repository to easily display your data in the context of any commit!
promptfoo is now integrated with AWS S3!
Are you sure you want to delete this access key?
Browsing data directories saved to Google Cloud Storage is possible with DAGsHub. Let's configure your repository to easily display your data in the context of any commit!
promptfoo is now integrated with Google Cloud Storage!
Are you sure you want to delete this access key?
Browsing data directories saved to Azure Cloud Storage is possible with DAGsHub. Let's configure your repository to easily display your data in the context of any commit!
promptfoo is now integrated with Azure Cloud Storage!
Are you sure you want to delete this access key?
Browsing data directories saved to S3 compatible storage is possible with DAGsHub. Let's configure your repository to easily display your data in the context of any commit!
promptfoo is now integrated with your S3 compatible storage!
Are you sure you want to delete this access key?