From e19e74e964ed760150ad9c07914edd7d2c637c39 Mon Sep 17 00:00:00 2001 From: Jeffrey Aven Date: Mon, 11 Nov 2024 14:50:41 +1100 Subject: [PATCH] openai updates --- .../providers/openai/assistants/assistants/index.md | 6 ++---- .../providers/openai/assistants/messages/index.md | 8 ++------ .../providers/openai/assistants/runs/index.md | 6 ++---- .../providers/openai/audio/speeches/index.md | 10 ++-------- .../providers/openai/batch/batches/index.md | 10 ++-------- .../providers/openai/completions/completions/index.md | 8 ++------ .../providers/openai/embeddings/embeddings/index.md | 8 ++------ .../providers/openai/fine_tuning/jobs/index.md | 8 ++------ .../providers/openai/images/images/index.md | 6 ++---- .../providers/openai/moderations/moderations/index.md | 6 ++---- .../openai/projects/project_service_accounts/index.md | 3 +-- .../providers/openai/projects/project_users/index.md | 4 +--- .../providers/openai/projects/projects/index.md | 3 +-- .../providers/openai/uploads/uploads/index.md | 6 +----- .../vector_stores/vector_store_file_batches/index.md | 6 ++---- .../openai/vector_stores/vector_store_files/index.md | 6 ++---- 16 files changed, 28 insertions(+), 76 deletions(-) diff --git a/docs/openai-docs/providers/openai/assistants/assistants/index.md b/docs/openai-docs/providers/openai/assistants/assistants/index.md index 6d295c78c..9988d5854 100644 --- a/docs/openai-docs/providers/openai/assistants/assistants/index.md +++ b/docs/openai-docs/providers/openai/assistants/assistants/index.md @@ -114,8 +114,7 @@ SELECT '{{ metadata }}', '{{ temperature }}', '{{ top_p }}', -'{{ response_format }}', -'{{ data__model }}' +'{{ response_format }}' ; ``` @@ -128,8 +127,7 @@ SELECT data__model ) SELECT - '{{ model }}', -'{{ data__model }}' + '{{ model }}' ; ``` diff --git a/docs/openai-docs/providers/openai/assistants/messages/index.md b/docs/openai-docs/providers/openai/assistants/messages/index.md index 0c44a82f0..aa926d115 100644 --- a/docs/openai-docs/providers/openai/assistants/messages/index.md +++ b/docs/openai-docs/providers/openai/assistants/messages/index.md @@ -106,9 +106,7 @@ SELECT '{{ content }}', '{{ attachments }}', '{{ metadata }}', -'{{ thread_id }}', -'{{ data__content }}', -'{{ data__role }}' +'{{ thread_id }}' ; ``` @@ -125,9 +123,7 @@ thread_id SELECT '{{ role }}', '{{ content }}', -'{{ thread_id }}', -'{{ data__content }}', -'{{ data__role }}' +'{{ thread_id }}' ; ``` diff --git a/docs/openai-docs/providers/openai/assistants/runs/index.md b/docs/openai-docs/providers/openai/assistants/runs/index.md index d4553fe13..def75410f 100644 --- a/docs/openai-docs/providers/openai/assistants/runs/index.md +++ b/docs/openai-docs/providers/openai/assistants/runs/index.md @@ -157,8 +157,7 @@ SELECT '{{ tool_choice }}', '{{ parallel_tool_calls }}', '{{ response_format }}', -'{{ thread_id }}', -'{{ data__assistant_id }}' +'{{ thread_id }}' ; ``` @@ -173,8 +172,7 @@ thread_id ) SELECT '{{ assistant_id }}', -'{{ thread_id }}', -'{{ data__assistant_id }}' +'{{ thread_id }}' ; ``` diff --git a/docs/openai-docs/providers/openai/audio/speeches/index.md b/docs/openai-docs/providers/openai/audio/speeches/index.md index 14569d97a..323f54fc5 100644 --- a/docs/openai-docs/providers/openai/audio/speeches/index.md +++ b/docs/openai-docs/providers/openai/audio/speeches/index.md @@ -64,10 +64,7 @@ SELECT '{{ input }}', '{{ voice }}', '{{ response_format }}', -'{{ speed }}', -'{{ data__input }}', -'{{ data__model }}', -'{{ data__voice }}' +'{{ speed }}' ; ``` @@ -84,10 +81,7 @@ data__voice SELECT '{{ model }}', '{{ input }}', -'{{ voice }}', -'{{ data__input }}', -'{{ data__model }}', -'{{ data__voice }}' +'{{ voice }}' ; ``` diff --git a/docs/openai-docs/providers/openai/batch/batches/index.md b/docs/openai-docs/providers/openai/batch/batches/index.md index 31a9e4c9e..07790c2ed 100644 --- a/docs/openai-docs/providers/openai/batch/batches/index.md +++ b/docs/openai-docs/providers/openai/batch/batches/index.md @@ -115,10 +115,7 @@ SELECT '{{ input_file_id }}', '{{ endpoint }}', '{{ completion_window }}', -'{{ metadata }}', -'{{ data__completion_window }}', -'{{ data__endpoint }}', -'{{ data__input_file_id }}' +'{{ metadata }}' ; ``` @@ -135,10 +132,7 @@ data__completion_window SELECT '{{ input_file_id }}', '{{ endpoint }}', -'{{ completion_window }}', -'{{ data__completion_window }}', -'{{ data__endpoint }}', -'{{ data__input_file_id }}' +'{{ completion_window }}' ; ``` diff --git a/docs/openai-docs/providers/openai/completions/completions/index.md b/docs/openai-docs/providers/openai/completions/completions/index.md index 33acdb7e5..9078c4654 100644 --- a/docs/openai-docs/providers/openai/completions/completions/index.md +++ b/docs/openai-docs/providers/openai/completions/completions/index.md @@ -90,9 +90,7 @@ SELECT '{{ suffix }}', '{{ temperature }}', '{{ top_p }}', -'{{ user }}', -'{{ data__model }}', -'{{ data__prompt }}' +'{{ user }}' ; ``` @@ -107,9 +105,7 @@ data__prompt ) SELECT '{{ model }}', -'{{ prompt }}', -'{{ data__model }}', -'{{ data__prompt }}' +'{{ prompt }}' ; ``` diff --git a/docs/openai-docs/providers/openai/embeddings/embeddings/index.md b/docs/openai-docs/providers/openai/embeddings/embeddings/index.md index 3ea7565d7..d3b97563e 100644 --- a/docs/openai-docs/providers/openai/embeddings/embeddings/index.md +++ b/docs/openai-docs/providers/openai/embeddings/embeddings/index.md @@ -64,9 +64,7 @@ SELECT '{{ model }}', '{{ encoding_format }}', '{{ dimensions }}', -'{{ user }}', -'{{ data__input }}', -'{{ data__model }}' +'{{ user }}' ; ``` @@ -81,9 +79,7 @@ data__input ) SELECT '{{ model }}', -'{{ input }}', -'{{ data__input }}', -'{{ data__model }}' +'{{ input }}' ; ``` diff --git a/docs/openai-docs/providers/openai/fine_tuning/jobs/index.md b/docs/openai-docs/providers/openai/fine_tuning/jobs/index.md index 678dd13e1..97d90459c 100644 --- a/docs/openai-docs/providers/openai/fine_tuning/jobs/index.md +++ b/docs/openai-docs/providers/openai/fine_tuning/jobs/index.md @@ -115,9 +115,7 @@ SELECT '{{ suffix }}', '{{ validation_file }}', '{{ integrations }}', -'{{ seed }}', -'{{ data__model }}', -'{{ data__training_file }}' +'{{ seed }}' ; ``` @@ -132,9 +130,7 @@ data__training_file ) SELECT '{{ model }}', -'{{ training_file }}', -'{{ data__model }}', -'{{ data__training_file }}' +'{{ training_file }}' ; ``` diff --git a/docs/openai-docs/providers/openai/images/images/index.md b/docs/openai-docs/providers/openai/images/images/index.md index 1908791c6..150cb14f5 100644 --- a/docs/openai-docs/providers/openai/images/images/index.md +++ b/docs/openai-docs/providers/openai/images/images/index.md @@ -70,8 +70,7 @@ SELECT '{{ response_format }}', '{{ size }}', '{{ style }}', -'{{ user }}', -'{{ data__prompt }}' +'{{ user }}' ; ``` @@ -84,8 +83,7 @@ SELECT data__prompt ) SELECT - '{{ prompt }}', -'{{ data__prompt }}' + '{{ prompt }}' ; ``` diff --git a/docs/openai-docs/providers/openai/moderations/moderations/index.md b/docs/openai-docs/providers/openai/moderations/moderations/index.md index f7cc1b51c..31f39ec55 100644 --- a/docs/openai-docs/providers/openai/moderations/moderations/index.md +++ b/docs/openai-docs/providers/openai/moderations/moderations/index.md @@ -58,8 +58,7 @@ data__model ) SELECT '{{ input }}', -'{{ model }}', -'{{ data__input }}' +'{{ model }}' ; ``` @@ -72,8 +71,7 @@ SELECT data__input ) SELECT - '{{ input }}', -'{{ data__input }}' + '{{ input }}' ; ``` diff --git a/docs/openai-docs/providers/openai/projects/project_service_accounts/index.md b/docs/openai-docs/providers/openai/projects/project_service_accounts/index.md index 6168f3471..35b2a7aa8 100644 --- a/docs/openai-docs/providers/openai/projects/project_service_accounts/index.md +++ b/docs/openai-docs/providers/openai/projects/project_service_accounts/index.md @@ -81,8 +81,7 @@ project_id ) SELECT '{{ name }}', -'{{ project_id }}', -'{{ data__name }}' +'{{ project_id }}' ; ``` diff --git a/docs/openai-docs/providers/openai/projects/project_users/index.md b/docs/openai-docs/providers/openai/projects/project_users/index.md index 297a5f230..6df2d55b3 100644 --- a/docs/openai-docs/providers/openai/projects/project_users/index.md +++ b/docs/openai-docs/providers/openai/projects/project_users/index.md @@ -86,9 +86,7 @@ project_id SELECT '{{ user_id }}', '{{ role }}', -'{{ project_id }}', -'{{ data__role }}', -'{{ data__user_id }}' +'{{ project_id }}' ; ``` diff --git a/docs/openai-docs/providers/openai/projects/projects/index.md b/docs/openai-docs/providers/openai/projects/projects/index.md index 5a3c9d9ca..785f0d7f7 100644 --- a/docs/openai-docs/providers/openai/projects/projects/index.md +++ b/docs/openai-docs/providers/openai/projects/projects/index.md @@ -82,8 +82,7 @@ INSERT INTO openai.projects.projects ( data__name ) SELECT -'{{ name }}', -'{{ data__name }}' +'{{ name }}' ; ``` diff --git a/docs/openai-docs/providers/openai/uploads/uploads/index.md b/docs/openai-docs/providers/openai/uploads/uploads/index.md index eabb8e887..42bf6b769 100644 --- a/docs/openai-docs/providers/openai/uploads/uploads/index.md +++ b/docs/openai-docs/providers/openai/uploads/uploads/index.md @@ -64,11 +64,7 @@ SELECT '{{ filename }}', '{{ purpose }}', '{{ bytes }}', -'{{ mime_type }}', -'{{ data__bytes }}', -'{{ data__filename }}', -'{{ data__mime_type }}', -'{{ data__purpose }}' +'{{ mime_type }}' ; ``` diff --git a/docs/openai-docs/providers/openai/vector_stores/vector_store_file_batches/index.md b/docs/openai-docs/providers/openai/vector_stores/vector_store_file_batches/index.md index 11e471b09..ed145690d 100644 --- a/docs/openai-docs/providers/openai/vector_stores/vector_store_file_batches/index.md +++ b/docs/openai-docs/providers/openai/vector_stores/vector_store_file_batches/index.md @@ -85,8 +85,7 @@ vector_store_id SELECT '{{ file_ids }}', '{{ chunking_strategy }}', -'{{ vector_store_id }}', -'{{ data__file_ids }}' +'{{ vector_store_id }}' ; ``` @@ -101,8 +100,7 @@ vector_store_id ) SELECT '{{ file_ids }}', -'{{ vector_store_id }}', -'{{ data__file_ids }}' +'{{ vector_store_id }}' ; ``` diff --git a/docs/openai-docs/providers/openai/vector_stores/vector_store_files/index.md b/docs/openai-docs/providers/openai/vector_stores/vector_store_files/index.md index e06994abd..0aeb83037 100644 --- a/docs/openai-docs/providers/openai/vector_stores/vector_store_files/index.md +++ b/docs/openai-docs/providers/openai/vector_stores/vector_store_files/index.md @@ -89,8 +89,7 @@ vector_store_id SELECT '{{ file_id }}', '{{ chunking_strategy }}', -'{{ vector_store_id }}', -'{{ data__file_id }}' +'{{ vector_store_id }}' ; ``` @@ -105,8 +104,7 @@ vector_store_id ) SELECT '{{ file_id }}', -'{{ vector_store_id }}', -'{{ data__file_id }}' +'{{ vector_store_id }}' ; ```