-
Notifications
You must be signed in to change notification settings - Fork 16
34 lines (34 loc) · 1.08 KB
/
codex-test-file.yml
File metadata and controls
34 lines (34 loc) · 1.08 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
34
name: Codex Test - File 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: file
recipe_path: file
spice_version: ${{ inputs.spice_version }}
requires_secrets: false
additional_instructions: |
This recipe demonstrates using local files (Parquet, CSV, Markdown) as data sources.
You may need to download sample data files as shown in the README.
Test the Parquet file example first as it's the simplest.
Do not skip steps; any Spice/runtime error or output mismatch must fail and indicates the recipe needs updating.
secrets:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}