Skip to content

Commit

Permalink
update openai batch workflow name (#1695)
Browse files Browse the repository at this point in the history
Signed-off-by: Samhita Alla <[email protected]>
  • Loading branch information
samhita-alla authored Jun 11, 2024
1 parent d40b809 commit 85c2a40
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
# TODO: Register and update the examples below. (onnx_plugin, feast_integration, etc)
echo "PACKAGES=$(find examples -maxdepth 1 -type d -exec basename '{}' \; \
| grep -v -e 'testing' -e 'examples' \
| grep -v -e 'airflow_plugin' -e 'forecasting_sales' -e 'onnx_plugin' -e 'feast_integration' -e 'modin_plugin' -e 'sagemaker_inference_agent' -e 'mnist_classifier' -e 'openai_batch_agent' \
| grep -v -e 'airflow_plugin' -e 'forecasting_sales' -e 'onnx_plugin' -e 'feast_integration' -e 'modin_plugin' -e 'sagemaker_inference_agent' -e 'mnist_classifier' \
| sort \
| jq --raw-input . \
| jq --slurp . \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def jsons():


iterator_batch = create_batch(
name="gpt-3.5-turbo",
name="gpt-3.5-turbo-iterator",
openai_organization="your-org",
secret=Secret(group="openai", key="api-key"),
)
Expand All @@ -77,7 +77,7 @@ def json_iterator_wf(json_vals: Iterator[JSON] = jsons()) -> BatchResult:
# The following code snippet demonstrates how to send a JSONL file to the `create_batch` function:
# %%
file_batch = create_batch(
name="gpt-3.5-turbo",
name="gpt-3.5-turbo-file",
openai_organization="your-org",
secret=Secret(group="openai", key="api-key"),
is_json_iterator=False,
Expand Down

0 comments on commit 85c2a40

Please sign in to comment.