-
Notifications
You must be signed in to change notification settings - Fork 16
33 lines (33 loc) · 1.05 KB
/
codex-test-http.yml
File metadata and controls
33 lines (33 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Codex Test - HTTP Data Connector
on:
workflow_call:
inputs:
spice_version:
description: 'Spice.ai version to test'
required: false
type: string
default: 'latest'
secrets:
OPENAI_API_KEY:
required: false
workflow_dispatch:
inputs:
spice_version:
description: 'Spice.ai version to test'
required: false
type: string
default: 'latest'
jobs:
test:
uses: ./.github/workflows/codex-test-reusable.yml
with:
recipe_name: http
recipe_path: http
spice_version: ${{ inputs.spice_version }}
requires_secrets: false
additional_instructions: |
This recipe demonstrates using HTTP endpoints as data sources.
Uses public APIs that don't require authentication.
For public API-backed queries, treat row-count differences over time as acceptable if query execution succeeds and results are non-empty and structurally consistent with the README example.
secrets:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}