0d3cb498a3
Deploy local.promptfoo.app / Deploy to Cloudflare Pages (push) Waiting to run
Test and Publish Multi-arch Docker Image / test (push) Waiting to run
Test and Publish Multi-arch Docker Image / build-docker-and-push-digests (map[digest-suffix:linux-amd64 platform:linux/amd64 runner:ubuntu-latest]) (push) Blocked by required conditions
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) Blocked by required conditions
Test and Publish Multi-arch Docker Image / merge-docker-digests (push) Blocked by required conditions
Test and Publish Multi-arch Docker Image / Attest Multi-arch Image (push) Blocked by required conditions
Validate Renovate Config / Validate Renovate Configuration (push) Waiting to run
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
620 lines
16 KiB
JSON
620 lines
16 KiB
JSON
{
|
|
"version": "6",
|
|
"dialect": "sqlite",
|
|
"id": "5e481ffa-2de1-4718-9db1-a6edf93df64d",
|
|
"prevId": "a045d3e0-d52a-42da-a662-aea3e03beb74",
|
|
"tables": {
|
|
"configs": {
|
|
"name": "configs",
|
|
"columns": {
|
|
"id": {
|
|
"name": "id",
|
|
"type": "text",
|
|
"primaryKey": true,
|
|
"notNull": true,
|
|
"autoincrement": false
|
|
},
|
|
"created_at": {
|
|
"name": "created_at",
|
|
"type": "integer",
|
|
"primaryKey": false,
|
|
"notNull": true,
|
|
"autoincrement": false,
|
|
"default": "CURRENT_TIMESTAMP"
|
|
},
|
|
"updated_at": {
|
|
"name": "updated_at",
|
|
"type": "integer",
|
|
"primaryKey": false,
|
|
"notNull": true,
|
|
"autoincrement": false,
|
|
"default": "CURRENT_TIMESTAMP"
|
|
},
|
|
"name": {
|
|
"name": "name",
|
|
"type": "text",
|
|
"primaryKey": false,
|
|
"notNull": true,
|
|
"autoincrement": false
|
|
},
|
|
"type": {
|
|
"name": "type",
|
|
"type": "text",
|
|
"primaryKey": false,
|
|
"notNull": true,
|
|
"autoincrement": false
|
|
},
|
|
"config": {
|
|
"name": "config",
|
|
"type": "text",
|
|
"primaryKey": false,
|
|
"notNull": true,
|
|
"autoincrement": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"configs_created_at_idx": {
|
|
"name": "configs_created_at_idx",
|
|
"columns": ["created_at"],
|
|
"isUnique": false
|
|
},
|
|
"configs_type_idx": {
|
|
"name": "configs_type_idx",
|
|
"columns": ["type"],
|
|
"isUnique": false
|
|
}
|
|
},
|
|
"foreignKeys": {},
|
|
"compositePrimaryKeys": {},
|
|
"uniqueConstraints": {},
|
|
"checkConstraints": {}
|
|
},
|
|
"datasets": {
|
|
"name": "datasets",
|
|
"columns": {
|
|
"id": {
|
|
"name": "id",
|
|
"type": "text",
|
|
"primaryKey": true,
|
|
"notNull": true,
|
|
"autoincrement": false
|
|
},
|
|
"tests": {
|
|
"name": "tests",
|
|
"type": "text",
|
|
"primaryKey": false,
|
|
"notNull": false,
|
|
"autoincrement": false
|
|
},
|
|
"created_at": {
|
|
"name": "created_at",
|
|
"type": "integer",
|
|
"primaryKey": false,
|
|
"notNull": true,
|
|
"autoincrement": false,
|
|
"default": "CURRENT_TIMESTAMP"
|
|
}
|
|
},
|
|
"indexes": {
|
|
"datasets_created_at_idx": {
|
|
"name": "datasets_created_at_idx",
|
|
"columns": ["created_at"],
|
|
"isUnique": false
|
|
}
|
|
},
|
|
"foreignKeys": {},
|
|
"compositePrimaryKeys": {},
|
|
"uniqueConstraints": {},
|
|
"checkConstraints": {}
|
|
},
|
|
"eval_results": {
|
|
"name": "eval_results",
|
|
"columns": {
|
|
"id": {
|
|
"name": "id",
|
|
"type": "text",
|
|
"primaryKey": true,
|
|
"notNull": true,
|
|
"autoincrement": false
|
|
},
|
|
"created_at": {
|
|
"name": "created_at",
|
|
"type": "integer",
|
|
"primaryKey": false,
|
|
"notNull": true,
|
|
"autoincrement": false,
|
|
"default": "CURRENT_TIMESTAMP"
|
|
},
|
|
"updated_at": {
|
|
"name": "updated_at",
|
|
"type": "integer",
|
|
"primaryKey": false,
|
|
"notNull": true,
|
|
"autoincrement": false,
|
|
"default": "CURRENT_TIMESTAMP"
|
|
},
|
|
"eval_id": {
|
|
"name": "eval_id",
|
|
"type": "text",
|
|
"primaryKey": false,
|
|
"notNull": true,
|
|
"autoincrement": false
|
|
},
|
|
"prompt_idx": {
|
|
"name": "prompt_idx",
|
|
"type": "integer",
|
|
"primaryKey": false,
|
|
"notNull": true,
|
|
"autoincrement": false
|
|
},
|
|
"test_idx": {
|
|
"name": "test_idx",
|
|
"type": "integer",
|
|
"primaryKey": false,
|
|
"notNull": true,
|
|
"autoincrement": false
|
|
},
|
|
"test_case": {
|
|
"name": "test_case",
|
|
"type": "text",
|
|
"primaryKey": false,
|
|
"notNull": true,
|
|
"autoincrement": false
|
|
},
|
|
"prompt": {
|
|
"name": "prompt",
|
|
"type": "text",
|
|
"primaryKey": false,
|
|
"notNull": true,
|
|
"autoincrement": false
|
|
},
|
|
"prompt_id": {
|
|
"name": "prompt_id",
|
|
"type": "text",
|
|
"primaryKey": false,
|
|
"notNull": false,
|
|
"autoincrement": false
|
|
},
|
|
"provider": {
|
|
"name": "provider",
|
|
"type": "text",
|
|
"primaryKey": false,
|
|
"notNull": true,
|
|
"autoincrement": false
|
|
},
|
|
"latency_ms": {
|
|
"name": "latency_ms",
|
|
"type": "integer",
|
|
"primaryKey": false,
|
|
"notNull": false,
|
|
"autoincrement": false
|
|
},
|
|
"cost": {
|
|
"name": "cost",
|
|
"type": "real",
|
|
"primaryKey": false,
|
|
"notNull": false,
|
|
"autoincrement": false
|
|
},
|
|
"response": {
|
|
"name": "response",
|
|
"type": "text",
|
|
"primaryKey": false,
|
|
"notNull": false,
|
|
"autoincrement": false
|
|
},
|
|
"error": {
|
|
"name": "error",
|
|
"type": "text",
|
|
"primaryKey": false,
|
|
"notNull": false,
|
|
"autoincrement": false
|
|
},
|
|
"success": {
|
|
"name": "success",
|
|
"type": "integer",
|
|
"primaryKey": false,
|
|
"notNull": true,
|
|
"autoincrement": false
|
|
},
|
|
"score": {
|
|
"name": "score",
|
|
"type": "real",
|
|
"primaryKey": false,
|
|
"notNull": true,
|
|
"autoincrement": false
|
|
},
|
|
"grading_result": {
|
|
"name": "grading_result",
|
|
"type": "text",
|
|
"primaryKey": false,
|
|
"notNull": false,
|
|
"autoincrement": false
|
|
},
|
|
"named_scores": {
|
|
"name": "named_scores",
|
|
"type": "text",
|
|
"primaryKey": false,
|
|
"notNull": false,
|
|
"autoincrement": false
|
|
},
|
|
"metadata": {
|
|
"name": "metadata",
|
|
"type": "text",
|
|
"primaryKey": false,
|
|
"notNull": false,
|
|
"autoincrement": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"eval_result_eval_id_idx": {
|
|
"name": "eval_result_eval_id_idx",
|
|
"columns": ["eval_id"],
|
|
"isUnique": false
|
|
}
|
|
},
|
|
"foreignKeys": {
|
|
"eval_results_eval_id_evals_id_fk": {
|
|
"name": "eval_results_eval_id_evals_id_fk",
|
|
"tableFrom": "eval_results",
|
|
"tableTo": "evals",
|
|
"columnsFrom": ["eval_id"],
|
|
"columnsTo": ["id"],
|
|
"onDelete": "no action",
|
|
"onUpdate": "no action"
|
|
},
|
|
"eval_results_prompt_id_prompts_id_fk": {
|
|
"name": "eval_results_prompt_id_prompts_id_fk",
|
|
"tableFrom": "eval_results",
|
|
"tableTo": "prompts",
|
|
"columnsFrom": ["prompt_id"],
|
|
"columnsTo": ["id"],
|
|
"onDelete": "no action",
|
|
"onUpdate": "no action"
|
|
}
|
|
},
|
|
"compositePrimaryKeys": {},
|
|
"uniqueConstraints": {},
|
|
"checkConstraints": {}
|
|
},
|
|
"evals": {
|
|
"name": "evals",
|
|
"columns": {
|
|
"id": {
|
|
"name": "id",
|
|
"type": "text",
|
|
"primaryKey": true,
|
|
"notNull": true,
|
|
"autoincrement": false
|
|
},
|
|
"created_at": {
|
|
"name": "created_at",
|
|
"type": "integer",
|
|
"primaryKey": false,
|
|
"notNull": true,
|
|
"autoincrement": false,
|
|
"default": "CURRENT_TIMESTAMP"
|
|
},
|
|
"author": {
|
|
"name": "author",
|
|
"type": "text",
|
|
"primaryKey": false,
|
|
"notNull": false,
|
|
"autoincrement": false
|
|
},
|
|
"description": {
|
|
"name": "description",
|
|
"type": "text",
|
|
"primaryKey": false,
|
|
"notNull": false,
|
|
"autoincrement": false
|
|
},
|
|
"results": {
|
|
"name": "results",
|
|
"type": "text",
|
|
"primaryKey": false,
|
|
"notNull": true,
|
|
"autoincrement": false
|
|
},
|
|
"config": {
|
|
"name": "config",
|
|
"type": "text",
|
|
"primaryKey": false,
|
|
"notNull": true,
|
|
"autoincrement": false
|
|
},
|
|
"prompts": {
|
|
"name": "prompts",
|
|
"type": "text",
|
|
"primaryKey": false,
|
|
"notNull": false,
|
|
"autoincrement": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"evals_created_at_idx": {
|
|
"name": "evals_created_at_idx",
|
|
"columns": ["created_at"],
|
|
"isUnique": false
|
|
},
|
|
"evals_author_idx": {
|
|
"name": "evals_author_idx",
|
|
"columns": ["author"],
|
|
"isUnique": false
|
|
}
|
|
},
|
|
"foreignKeys": {},
|
|
"compositePrimaryKeys": {},
|
|
"uniqueConstraints": {},
|
|
"checkConstraints": {}
|
|
},
|
|
"evals_to_datasets": {
|
|
"name": "evals_to_datasets",
|
|
"columns": {
|
|
"eval_id": {
|
|
"name": "eval_id",
|
|
"type": "text",
|
|
"primaryKey": false,
|
|
"notNull": true,
|
|
"autoincrement": false
|
|
},
|
|
"dataset_id": {
|
|
"name": "dataset_id",
|
|
"type": "text",
|
|
"primaryKey": false,
|
|
"notNull": true,
|
|
"autoincrement": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"evals_to_datasets_eval_id_idx": {
|
|
"name": "evals_to_datasets_eval_id_idx",
|
|
"columns": ["eval_id"],
|
|
"isUnique": false
|
|
},
|
|
"evals_to_datasets_dataset_id_idx": {
|
|
"name": "evals_to_datasets_dataset_id_idx",
|
|
"columns": ["dataset_id"],
|
|
"isUnique": false
|
|
}
|
|
},
|
|
"foreignKeys": {
|
|
"evals_to_datasets_eval_id_evals_id_fk": {
|
|
"name": "evals_to_datasets_eval_id_evals_id_fk",
|
|
"tableFrom": "evals_to_datasets",
|
|
"tableTo": "evals",
|
|
"columnsFrom": ["eval_id"],
|
|
"columnsTo": ["id"],
|
|
"onDelete": "no action",
|
|
"onUpdate": "no action"
|
|
},
|
|
"evals_to_datasets_dataset_id_datasets_id_fk": {
|
|
"name": "evals_to_datasets_dataset_id_datasets_id_fk",
|
|
"tableFrom": "evals_to_datasets",
|
|
"tableTo": "datasets",
|
|
"columnsFrom": ["dataset_id"],
|
|
"columnsTo": ["id"],
|
|
"onDelete": "no action",
|
|
"onUpdate": "no action"
|
|
}
|
|
},
|
|
"compositePrimaryKeys": {
|
|
"evals_to_datasets_eval_id_dataset_id_pk": {
|
|
"columns": ["eval_id", "dataset_id"],
|
|
"name": "evals_to_datasets_eval_id_dataset_id_pk"
|
|
}
|
|
},
|
|
"uniqueConstraints": {},
|
|
"checkConstraints": {}
|
|
},
|
|
"evals_to_prompts": {
|
|
"name": "evals_to_prompts",
|
|
"columns": {
|
|
"eval_id": {
|
|
"name": "eval_id",
|
|
"type": "text",
|
|
"primaryKey": false,
|
|
"notNull": true,
|
|
"autoincrement": false
|
|
},
|
|
"prompt_id": {
|
|
"name": "prompt_id",
|
|
"type": "text",
|
|
"primaryKey": false,
|
|
"notNull": true,
|
|
"autoincrement": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"evals_to_prompts_eval_id_idx": {
|
|
"name": "evals_to_prompts_eval_id_idx",
|
|
"columns": ["eval_id"],
|
|
"isUnique": false
|
|
},
|
|
"evals_to_prompts_prompt_id_idx": {
|
|
"name": "evals_to_prompts_prompt_id_idx",
|
|
"columns": ["prompt_id"],
|
|
"isUnique": false
|
|
}
|
|
},
|
|
"foreignKeys": {
|
|
"evals_to_prompts_eval_id_evals_id_fk": {
|
|
"name": "evals_to_prompts_eval_id_evals_id_fk",
|
|
"tableFrom": "evals_to_prompts",
|
|
"tableTo": "evals",
|
|
"columnsFrom": ["eval_id"],
|
|
"columnsTo": ["id"],
|
|
"onDelete": "cascade",
|
|
"onUpdate": "no action"
|
|
},
|
|
"evals_to_prompts_prompt_id_prompts_id_fk": {
|
|
"name": "evals_to_prompts_prompt_id_prompts_id_fk",
|
|
"tableFrom": "evals_to_prompts",
|
|
"tableTo": "prompts",
|
|
"columnsFrom": ["prompt_id"],
|
|
"columnsTo": ["id"],
|
|
"onDelete": "no action",
|
|
"onUpdate": "no action"
|
|
}
|
|
},
|
|
"compositePrimaryKeys": {
|
|
"evals_to_prompts_eval_id_prompt_id_pk": {
|
|
"columns": ["eval_id", "prompt_id"],
|
|
"name": "evals_to_prompts_eval_id_prompt_id_pk"
|
|
}
|
|
},
|
|
"uniqueConstraints": {},
|
|
"checkConstraints": {}
|
|
},
|
|
"evals_to_tags": {
|
|
"name": "evals_to_tags",
|
|
"columns": {
|
|
"eval_id": {
|
|
"name": "eval_id",
|
|
"type": "text",
|
|
"primaryKey": false,
|
|
"notNull": true,
|
|
"autoincrement": false
|
|
},
|
|
"tag_id": {
|
|
"name": "tag_id",
|
|
"type": "text",
|
|
"primaryKey": false,
|
|
"notNull": true,
|
|
"autoincrement": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"evals_to_tags_eval_id_idx": {
|
|
"name": "evals_to_tags_eval_id_idx",
|
|
"columns": ["eval_id"],
|
|
"isUnique": false
|
|
},
|
|
"evals_to_tags_tag_id_idx": {
|
|
"name": "evals_to_tags_tag_id_idx",
|
|
"columns": ["tag_id"],
|
|
"isUnique": false
|
|
}
|
|
},
|
|
"foreignKeys": {
|
|
"evals_to_tags_eval_id_evals_id_fk": {
|
|
"name": "evals_to_tags_eval_id_evals_id_fk",
|
|
"tableFrom": "evals_to_tags",
|
|
"tableTo": "evals",
|
|
"columnsFrom": ["eval_id"],
|
|
"columnsTo": ["id"],
|
|
"onDelete": "no action",
|
|
"onUpdate": "no action"
|
|
},
|
|
"evals_to_tags_tag_id_tags_id_fk": {
|
|
"name": "evals_to_tags_tag_id_tags_id_fk",
|
|
"tableFrom": "evals_to_tags",
|
|
"tableTo": "tags",
|
|
"columnsFrom": ["tag_id"],
|
|
"columnsTo": ["id"],
|
|
"onDelete": "no action",
|
|
"onUpdate": "no action"
|
|
}
|
|
},
|
|
"compositePrimaryKeys": {
|
|
"evals_to_tags_eval_id_tag_id_pk": {
|
|
"columns": ["eval_id", "tag_id"],
|
|
"name": "evals_to_tags_eval_id_tag_id_pk"
|
|
}
|
|
},
|
|
"uniqueConstraints": {},
|
|
"checkConstraints": {}
|
|
},
|
|
"prompts": {
|
|
"name": "prompts",
|
|
"columns": {
|
|
"id": {
|
|
"name": "id",
|
|
"type": "text",
|
|
"primaryKey": true,
|
|
"notNull": true,
|
|
"autoincrement": false
|
|
},
|
|
"created_at": {
|
|
"name": "created_at",
|
|
"type": "integer",
|
|
"primaryKey": false,
|
|
"notNull": true,
|
|
"autoincrement": false,
|
|
"default": "CURRENT_TIMESTAMP"
|
|
},
|
|
"prompt": {
|
|
"name": "prompt",
|
|
"type": "text",
|
|
"primaryKey": false,
|
|
"notNull": true,
|
|
"autoincrement": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"prompts_created_at_idx": {
|
|
"name": "prompts_created_at_idx",
|
|
"columns": ["created_at"],
|
|
"isUnique": false
|
|
}
|
|
},
|
|
"foreignKeys": {},
|
|
"compositePrimaryKeys": {},
|
|
"uniqueConstraints": {},
|
|
"checkConstraints": {}
|
|
},
|
|
"tags": {
|
|
"name": "tags",
|
|
"columns": {
|
|
"id": {
|
|
"name": "id",
|
|
"type": "text",
|
|
"primaryKey": true,
|
|
"notNull": true,
|
|
"autoincrement": false
|
|
},
|
|
"name": {
|
|
"name": "name",
|
|
"type": "text",
|
|
"primaryKey": false,
|
|
"notNull": true,
|
|
"autoincrement": false
|
|
},
|
|
"value": {
|
|
"name": "value",
|
|
"type": "text",
|
|
"primaryKey": false,
|
|
"notNull": true,
|
|
"autoincrement": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"tags_name_idx": {
|
|
"name": "tags_name_idx",
|
|
"columns": ["name"],
|
|
"isUnique": false
|
|
},
|
|
"tags_name_value_unique": {
|
|
"name": "tags_name_value_unique",
|
|
"columns": ["name", "value"],
|
|
"isUnique": true
|
|
}
|
|
},
|
|
"foreignKeys": {},
|
|
"compositePrimaryKeys": {},
|
|
"uniqueConstraints": {},
|
|
"checkConstraints": {}
|
|
}
|
|
},
|
|
"views": {},
|
|
"enums": {},
|
|
"_meta": {
|
|
"schemas": {},
|
|
"tables": {},
|
|
"columns": {}
|
|
},
|
|
"internal": {
|
|
"indexes": {}
|
|
}
|
|
}
|