Comments (6)
Hi, when you play a different prompt this will change the AI's role.
from chatpad.
I'm referring to this system
prompt, I would like for the option to customize this instead
chatpad/src/components/Prompts.tsx
Line 109 in 37330d6
The reason being it allows you to give instructions for the session without also retrieving a response to those instructions (as is the case currently).
from chatpad.
I'm referring to this
system
prompt, I would like for the option to customize this insteadchatpad/src/components/Prompts.tsx
Line 109 in 37330d6
The reason being it allows you to give instructions for the session without also retrieving a response to those instructions (as is the case currently).
that is the preloaded prompt, you can change the scenario by adding your own and hitting the "play" button
from chatpad.
Is that how it's intended to work? Because when I hit the play button on a prompt this is what gets sent to OpenAI when I inpsect the browser request:
The thing I would like to achieve when I press the play button is, instead of two messages being sent (a system
role message with the generic prompt, plus a user
role message with my custom prompt), I would like just one message to be sent (a system
role message with my custom prompt).
Actually maybe the behavior I'm looking for when I press the play button is to, instead of immediately sending two messages to the API (the generic system
role and my prompt as the user
role), just open a new chat session without making any API requests yet, then on the first message I send it should send two messages--my custom prompt as the system
role and my first chat message as the user
role. That way my prompt is given as the pretext for the conversation but the first response from the API will be to what I opened the chat with.
Basically I expected the prompt to set up the chat sessions without having ChatGPT actually respond to the prompt every time. But maybe that wasn't the intent for the "prompt" feature to begin with?
Based on this OpenAI community discussion it sounds like it also might matter whether the system message is sent as the first or last one in the array.
from chatpad.
I've opened #24 with some changes that implement what I'm describing here.
from chatpad.
from chatpad.
Related Issues (20)
- Feature request HOT 1
- Add support for reverse proxy HOT 4
- Possible to add API key to config? HOT 3
- Looking for maintainers HOT 21
- OpenAI gpt-4-turbo-preview Model HOT 10
- small accessibility problem
- OSX: The window moves unintentionally between several desktops. HOT 2
- New mode GPT-4o available HOT 1
- Processing photo and files? HOT 1
- Usage estimate incorect HOT 1
- No response while using Azure OpenAI API (sort of)
- Request: Delete messages from context
- Netlify - Deploy failed due to an error in @netlify/plugin-nextjs plugin.
- Add support for custom finetuned models HOT 1
- Separate URL for starting new chat
- Scrolling is broken in code blocks during response generation
- open chatpad to the internet HOT 4
- UI bouncing when I or chatGPT types HOT 10
- Custom Instruction Support
- Only show GPT models that are available for your API key
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chatpad.