CoolFace
Apppublic

agwebdev/parallel_benchmark

sourceHugging Faceupdated 8mo agoView on Hugging Face
0likes
App README

Parallel vs Exa Automated Benchmark

⚠️ Proof-of-concept: This demo is for illustrative purposes. Values may be inaccurate.

Interactive benchmark to compare:

  • Parallel: Search → Extract
  • Exa: Search → Contents

Each run produces a downloadable artifact bundle containing exact queries, results, and errors.

How it works

  • The Space generates industry-specific demo queries for the provided domain.
  • It runs a workflow on both providers: search then retrieve evidence content.
  • Results include per-query cards, an executive summary, and a downloadable artifact bundle.

Secrets

In your Space: Settings → Variables and secrets → Secrets

Required (to enable temporary keys):

  • PARALLEL_API_KEY
  • EXA_API_KEY

Optional (magic link):

  • MAGIC_LINK_TOKEN (recommended)
  • or APP_TOKEN

If a magic-link token is set, the Space will require a URL like:

https://<owner>-<space>.hf.space/?token=<your-token>

Convenience: if MAGIC_LINK_TOKEN/APP_TOKEN are not set but APP_PASS is set, the app will use APP_PASS as the magic token (legacy).

Note: Use the direct *.hf.space URL for sharing; the huggingface.co/spaces/... wrapper may not preserve query parameters.

Compatibility note

This Space pins python_version: 3.11 and installs huggingface_hub<1.0.0 to avoid breaking changes that removed HfFolder.

Sharing a magic link

Use the direct app URL (recommended):

https://<owner>-<space>.hf.space/?token=<your-token>

The huggingface.co/spaces/... page is an embed wrapper and may not preserve query parameters.

Cost assumptions

This POC may estimate cost when a provider does not return per-request cost fields. See the in-app “Cost assumptions” section.