Initial support for the Responses API - #42
Merged
Conversation
…tions and update sample response data
phartenfeller
temporarily deployed
to
dblinter
January 21, 2026 15:01 — with
GitHub Actions
Inactive
| , p_schema => p_schema | ||
| ); | ||
| else | ||
| return generate_text_chat_api( |
Check warning
Code scanning / dbLinter
Always make the RETURN statement the last statement of your function. Warning
|
|
||
| -- Convert input object to JSON string for arguments | ||
| declare | ||
| l_input_obj json_object_t := l_content_item.get_object('input'); |
Check notice
Code scanning / dbLinter
Avoid initializing variables using functions in the declaration section.
| -- Extract providerOptions if present | ||
| if l_content_item.has('providerOptions') and not l_content_item.get('providerOptions').is_null then | ||
| declare | ||
| l_provider_options json_object_t := l_content_item.get_object('providerOptions'); |
Check notice
Code scanning / dbLinter
Avoid initializing variables using functions in the declaration section.
| -- Output can be string or structured content | ||
| if l_content_item.has('content') then | ||
| declare | ||
| l_result_content json_element_t := l_content_item.get('content'); |
Check notice
Code scanning / dbLinter
Avoid initializing variables using functions in the declaration section.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #40
Currently just for OpenAI and opt-in. See the test package form more examples.