Skip to content

Commit

Permalink
Merge pull request #212 from stackql/feature/doc-updates
Browse files Browse the repository at this point in the history
openai updates
  • Loading branch information
jeffreyaven authored Nov 11, 2024
2 parents 80bb2d3 + e19e74e commit 08a769b
Show file tree
Hide file tree
Showing 16 changed files with 28 additions and 76 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,7 @@ SELECT
'{{ metadata }}',
'{{ temperature }}',
'{{ top_p }}',
'{{ response_format }}',
'{{ data__model }}'
'{{ response_format }}'
;
```
</TabItem>
Expand All @@ -128,8 +127,7 @@ SELECT
data__model
)
SELECT
'{{ model }}',
'{{ data__model }}'
'{{ model }}'
;
```
</TabItem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,7 @@ SELECT
'{{ content }}',
'{{ attachments }}',
'{{ metadata }}',
'{{ thread_id }}',
'{{ data__content }}',
'{{ data__role }}'
'{{ thread_id }}'
;
```
</TabItem>
Expand All @@ -125,9 +123,7 @@ thread_id
SELECT
'{{ role }}',
'{{ content }}',
'{{ thread_id }}',
'{{ data__content }}',
'{{ data__role }}'
'{{ thread_id }}'
;
```
</TabItem>
Expand Down
6 changes: 2 additions & 4 deletions docs/openai-docs/providers/openai/assistants/runs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,7 @@ SELECT
'{{ tool_choice }}',
'{{ parallel_tool_calls }}',
'{{ response_format }}',
'{{ thread_id }}',
'{{ data__assistant_id }}'
'{{ thread_id }}'
;
```
</TabItem>
Expand All @@ -173,8 +172,7 @@ thread_id
)
SELECT
'{{ assistant_id }}',
'{{ thread_id }}',
'{{ data__assistant_id }}'
'{{ thread_id }}'
;
```
</TabItem>
Expand Down
10 changes: 2 additions & 8 deletions docs/openai-docs/providers/openai/audio/speeches/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,7 @@ SELECT
'{{ input }}',
'{{ voice }}',
'{{ response_format }}',
'{{ speed }}',
'{{ data__input }}',
'{{ data__model }}',
'{{ data__voice }}'
'{{ speed }}'
;
```
</TabItem>
Expand All @@ -84,10 +81,7 @@ data__voice
SELECT
'{{ model }}',
'{{ input }}',
'{{ voice }}',
'{{ data__input }}',
'{{ data__model }}',
'{{ data__voice }}'
'{{ voice }}'
;
```
</TabItem>
Expand Down
10 changes: 2 additions & 8 deletions docs/openai-docs/providers/openai/batch/batches/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,7 @@ SELECT
'{{ input_file_id }}',
'{{ endpoint }}',
'{{ completion_window }}',
'{{ metadata }}',
'{{ data__completion_window }}',
'{{ data__endpoint }}',
'{{ data__input_file_id }}'
'{{ metadata }}'
;
```
</TabItem>
Expand All @@ -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 }}'
;
```
</TabItem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,7 @@ SELECT
'{{ suffix }}',
'{{ temperature }}',
'{{ top_p }}',
'{{ user }}',
'{{ data__model }}',
'{{ data__prompt }}'
'{{ user }}'
;
```
</TabItem>
Expand All @@ -107,9 +105,7 @@ data__prompt
)
SELECT
'{{ model }}',
'{{ prompt }}',
'{{ data__model }}',
'{{ data__prompt }}'
'{{ prompt }}'
;
```
</TabItem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,7 @@ SELECT
'{{ model }}',
'{{ encoding_format }}',
'{{ dimensions }}',
'{{ user }}',
'{{ data__input }}',
'{{ data__model }}'
'{{ user }}'
;
```
</TabItem>
Expand All @@ -81,9 +79,7 @@ data__input
)
SELECT
'{{ model }}',
'{{ input }}',
'{{ data__input }}',
'{{ data__model }}'
'{{ input }}'
;
```
</TabItem>
Expand Down
8 changes: 2 additions & 6 deletions docs/openai-docs/providers/openai/fine_tuning/jobs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,7 @@ SELECT
'{{ suffix }}',
'{{ validation_file }}',
'{{ integrations }}',
'{{ seed }}',
'{{ data__model }}',
'{{ data__training_file }}'
'{{ seed }}'
;
```
</TabItem>
Expand All @@ -132,9 +130,7 @@ data__training_file
)
SELECT
'{{ model }}',
'{{ training_file }}',
'{{ data__model }}',
'{{ data__training_file }}'
'{{ training_file }}'
;
```
</TabItem>
Expand Down
6 changes: 2 additions & 4 deletions docs/openai-docs/providers/openai/images/images/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,7 @@ SELECT
'{{ response_format }}',
'{{ size }}',
'{{ style }}',
'{{ user }}',
'{{ data__prompt }}'
'{{ user }}'
;
```
</TabItem>
Expand All @@ -84,8 +83,7 @@ SELECT
data__prompt
)
SELECT
'{{ prompt }}',
'{{ data__prompt }}'
'{{ prompt }}'
;
```
</TabItem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ data__model
)
SELECT
'{{ input }}',
'{{ model }}',
'{{ data__input }}'
'{{ model }}'
;
```
</TabItem>
Expand All @@ -72,8 +71,7 @@ SELECT
data__input
)
SELECT
'{{ input }}',
'{{ data__input }}'
'{{ input }}'
;
```
</TabItem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,7 @@ project_id
)
SELECT
'{{ name }}',
'{{ project_id }}',
'{{ data__name }}'
'{{ project_id }}'
;
```
</TabItem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,7 @@ project_id
SELECT
'{{ user_id }}',
'{{ role }}',
'{{ project_id }}',
'{{ data__role }}',
'{{ data__user_id }}'
'{{ project_id }}'
;
```
</TabItem>
Expand Down
3 changes: 1 addition & 2 deletions docs/openai-docs/providers/openai/projects/projects/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,7 @@ INSERT INTO openai.projects.projects (
data__name
)
SELECT
'{{ name }}',
'{{ data__name }}'
'{{ name }}'
;
```
</TabItem>
Expand Down
6 changes: 1 addition & 5 deletions docs/openai-docs/providers/openai/uploads/uploads/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,7 @@ SELECT
'{{ filename }}',
'{{ purpose }}',
'{{ bytes }}',
'{{ mime_type }}',
'{{ data__bytes }}',
'{{ data__filename }}',
'{{ data__mime_type }}',
'{{ data__purpose }}'
'{{ mime_type }}'
;
```
</TabItem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,7 @@ vector_store_id
SELECT
'{{ file_ids }}',
'{{ chunking_strategy }}',
'{{ vector_store_id }}',
'{{ data__file_ids }}'
'{{ vector_store_id }}'
;
```
</TabItem>
Expand All @@ -101,8 +100,7 @@ vector_store_id
)
SELECT
'{{ file_ids }}',
'{{ vector_store_id }}',
'{{ data__file_ids }}'
'{{ vector_store_id }}'
;
```
</TabItem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,7 @@ vector_store_id
SELECT
'{{ file_id }}',
'{{ chunking_strategy }}',
'{{ vector_store_id }}',
'{{ data__file_id }}'
'{{ vector_store_id }}'
;
```
</TabItem>
Expand All @@ -105,8 +104,7 @@ vector_store_id
)
SELECT
'{{ file_id }}',
'{{ vector_store_id }}',
'{{ data__file_id }}'
'{{ vector_store_id }}'
;
```
</TabItem>
Expand Down

0 comments on commit 08a769b

Please sign in to comment.