0d3cb498a3
CI / Shell Format Check (push) Has been cancelled
CI / Check Ruby (3.4) (push) Has been cancelled
CI / CI Config (push) Has been cancelled
CI / Test on Node ${{ matrix.node }} and ${{ matrix.os }}${{ matrix.shard && format(' (shard {0}/3)', matrix.shard) || '' }} (push) Has been cancelled
CI / Build on Node ${{ matrix.node }} (push) Has been cancelled
CI / Style Check (push) Has been cancelled
CI / Generate Assets (push) Has been cancelled
CI / Check Python (3.14) (push) Has been cancelled
CI / Check Python (3.9) (push) Has been cancelled
CI / Build Docs (push) Has been cancelled
CI / Code Scan Action (push) Has been cancelled
CI / Site tests (push) Has been cancelled
CI / webui tests (push) Has been cancelled
CI / Run Integration Tests (push) Has been cancelled
CI / Run Smoke Tests (push) Has been cancelled
CI / Go Tests (push) Has been cancelled
CI / Share Test (push) Has been cancelled
CI / Redteam (Production API) (push) Has been cancelled
CI / Redteam (Staging API) (push) Has been cancelled
CI / GitHub Actions Lint (push) Has been cancelled
CI / Check Ruby (3.0) (push) Has been cancelled
release-please / release-please (push) Has been cancelled
release-please / build (push) Has been cancelled
release-please / publish-npm (push) Has been cancelled
release-please / publish-npm-backfill (push) Has been cancelled
release-please / docker (push) Has been cancelled
release-please / publish-code-scan-action (push) Has been cancelled
release-please / attest-code-scan-action (push) Has been cancelled
Deploy local.promptfoo.app / Deploy to Cloudflare Pages (push) Has been cancelled
Test and Publish Multi-arch Docker Image / test (push) Has been cancelled
Test and Publish Multi-arch Docker Image / build-docker-and-push-digests (map[digest-suffix:linux-amd64 platform:linux/amd64 runner:ubuntu-latest]) (push) Has been cancelled
Test and Publish Multi-arch Docker Image / build-docker-and-push-digests (map[digest-suffix:linux-arm64 platform:linux/arm64 runner:ubuntu-24.04-arm]) (push) Has been cancelled
Test and Publish Multi-arch Docker Image / merge-docker-digests (push) Has been cancelled
Test and Publish Multi-arch Docker Image / Attest Multi-arch Image (push) Has been cancelled
Validate Renovate Config / Validate Renovate Configuration (push) Has been cancelled
37 lines
1.5 KiB
YAML
37 lines
1.5 KiB
YAML
# yaml-language-server: $schema=https://promptfoo.dev/config-schema.json
|
|
description: Research and reasoning with Perplexity specialized models
|
|
|
|
prompts:
|
|
- 'Create a comprehensive report on {{research_topic}} with the latest findings and data.'
|
|
- 'Solve the following math problem, showing your step-by-step reasoning: {{math_problem}}'
|
|
|
|
providers:
|
|
- id: perplexity:sonar-deep-research
|
|
config:
|
|
temperature: 0.1
|
|
max_tokens: 4000
|
|
search_domain_filter: ['arxiv.org', 'researchgate.net', 'scholar.google.com']
|
|
web_search_options:
|
|
search_context_size: 'high'
|
|
# This provider will be used for the first prompt only
|
|
|
|
- id: perplexity:sonar-reasoning-pro
|
|
config:
|
|
temperature: 0.2
|
|
max_tokens: 3000
|
|
# This provider will be used for the second prompt only
|
|
|
|
- id: perplexity:r1-1776
|
|
config:
|
|
temperature: 0.2
|
|
max_tokens: 2000
|
|
# Offline model without search capabilities
|
|
|
|
tests:
|
|
- vars:
|
|
research_topic: 'advancements in protein folding algorithms in 2024'
|
|
math_problem: 'A ball is thrown upward from the ground with an initial velocity of 25 m/s. How high will the ball go and how long will it take to reach that height? (Use g = 9.8 m/s²)'
|
|
- vars:
|
|
research_topic: 'the impact of large language models on education'
|
|
math_problem: 'A cylindrical water tank has a radius of 3 meters and a height of 8 meters. It is being filled at a rate of 2 cubic meters per minute. How long will it take to fill the tank? (Use π = 3.14)'
|