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

Temperature Specification: ChatGPT Prompts #38

Open
ahmerhh opened this issue Dec 12, 2023 · 0 comments
Open

Temperature Specification: ChatGPT Prompts #38

ahmerhh opened this issue Dec 12, 2023 · 0 comments

Comments

@ahmerhh
Copy link

ahmerhh commented Dec 12, 2023

Issue Description:

Summary:
As a professional prompter of GPT, I've noticed no one gives importance to the temperature control feature in prompts. This feature would be amazing for tailoring the model's responses to specific needs. This ability - to set temperature would allow users to fine-tune the balance between creativity and directness in generated text.

Rather than giving GPT the prompt "Optimize so it doesn't seem AI-generated." ????

ChatGPT Prompt Engineering for Developers

Proposal:
I suggest including a temperature parameter in prompt options, enabling users to influence the response style. For instance, setting a lower temperature (e.g., 0.1) would give a more focused, direct, and expected answers. Oppositely, a higher temperature (e.g., 0.8) would introduce more creativity and unpredictability into the responses.

Temperature controls the degree of randomness in the responses and its value ranges between 0 and 1. Where lower values (e.g., 0.2) make the output more focused and deterministic, and higher values (e.g., 0.8) introduce more randomness and creativity.

Expected Behavior:
Users should be able to include a temperature parameter in their prompts, such as:

Example 1

"prompt": "Just after you give a prompt on ChatGPT, and add '(temperature = 0.8)' for a direct, less creative, and expected answer.",
"temperature": 0.2

image

Example 2

"prompt": "Just after you give a prompt on ChatGPT, and add '(temperature = 0.8)' for a more creative response.",
"temperature": 0.8

image


Additional Context:

This enhancement would empower users to achieve a more refined balance in the output by leveraging temperature settings on a scale from 0 to 1. For straightforward answers, users could set temperature to 0, while for more creative responses, they could let it range up to 1 and beyond.

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

No branches or pull requests

1 participant