Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support response_type in runprompt #556

Merged
merged 5 commits into from
Jun 20, 2024
Merged

support response_type in runprompt #556

merged 5 commits into from
Jun 20, 2024

Conversation

pelikhan
Copy link
Member

@pelikhan pelikhan commented Jun 20, 2024

  • In prompt_template.d.ts, there are adjustments to ordering and ideals of the ModelOptions and ScriptRuntimeOptions interfaces. New parameters like responseType and responseSchema have been introduced to tackle output customization.
  • In pr-describe.genai.js, a parameter temperature has been added to the script() function and an instruction was added to the task guidance.
  • In pr-review-commit.genai.js, a new rule for issue reporting was included in the instruction list.
  • A new JavaScript file runprompt.genai.js has been introduced in the genaisrc/style/ directory. It appears to be a script for generating random numbers and producing responses in JSON format.

The modifications revolve around better code organization, structure, and extended functionalities 🚀🔧💻.

generated by pr-describe

Copy link

The pull request contains a change in the structure of the TypeScript interfaces. The responseType property was moved from ScriptRuntimeOptions to ModelOptions.

There seem to be no functional issues with this change, as long as all references in the codebase to this property have been updated accordingly to reflect this structural change.

LGTM 🚀

generated by pr-review

@pelikhan
Copy link
Member Author

/genai-describe

@pelikhan pelikhan merged commit 931ba7f into main Jun 20, 2024
8 checks passed
@pelikhan pelikhan deleted the run_prompt_response_type branch June 20, 2024 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant