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
68 lines
1.7 KiB
Markdown
68 lines
1.7 KiB
Markdown
# provider-hyperbolic (Hyperbolic AI Provider)
|
|
|
|
This directory contains examples for testing Hyperbolic AI models with promptfoo.
|
|
|
|
You can run this example with:
|
|
|
|
```bash
|
|
npx promptfoo@latest init --example provider-hyperbolic
|
|
cd provider-hyperbolic
|
|
```
|
|
|
|
## Examples
|
|
|
|
### Quick Test (`promptfooconfig.yaml`)
|
|
|
|
Basic functionality test with Llama-3.1-70B to verify API connectivity.
|
|
|
|
### Reasoning Models (`promptfooconfig.reasoning.yaml`)
|
|
|
|
Creative reasoning puzzles using DeepSeek-V3 and Llama-3.1-70B models.
|
|
|
|
### Image Generation (`promptfooconfig.image-generation.yaml`)
|
|
|
|
Text-to-image generation using SDXL1.0-base model.
|
|
|
|
### Audio Generation (`promptfooconfig.audio-generation.yaml`)
|
|
|
|
Text-to-speech synthesis using Melo-TTS model.
|
|
|
|
### Multimodal Vision (`promptfooconfig.multimodal.yaml`)
|
|
|
|
Vision-language tasks using Qwen2.5-VL-7B model.
|
|
|
|
## Running the Examples
|
|
|
|
To run any of these examples:
|
|
|
|
```bash
|
|
# Quick connectivity test
|
|
npx promptfoo eval -c promptfooconfig.yaml
|
|
|
|
# Reasoning capabilities
|
|
npx promptfoo eval -c promptfooconfig.reasoning.yaml
|
|
|
|
# Image generation
|
|
npx promptfoo eval -c promptfooconfig.image-generation.yaml
|
|
|
|
# Audio synthesis
|
|
npx promptfoo eval -c promptfooconfig.audio-generation.yaml
|
|
|
|
# Vision-language tasks
|
|
npx promptfoo eval -c promptfooconfig.multimodal.yaml
|
|
|
|
# View results in web UI
|
|
npx promptfoo view
|
|
```
|
|
|
|
## Prerequisites
|
|
|
|
- Hyperbolic API key set in `HYPERBOLIC_API_KEY` environment variable
|
|
- Get your API key from [https://app.hyperbolic.xyz](https://app.hyperbolic.xyz)
|
|
|
|
## Notes
|
|
|
|
- Free tier allows 60 requests/minute, Pro tier allows 600 requests/minute
|
|
- Some models may require Pro tier access
|
|
- See [Hyperbolic provider documentation](https://promptfoo.dev/docs/providers/hyperbolic) for detailed configuration options
|