Coder Social home page Coder Social logo

Comments (6)

Supernova3339 avatar Supernova3339 commented on August 15, 2024

Hi, when you play a different prompt this will change the AI's role.

from chatpad.

rudism avatar rudism commented on August 15, 2024

I'm referring to this system prompt, I would like for the option to customize this instead

"You are ChatGPT, a large language model trained by OpenAI.",

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.

Supernova3339 avatar Supernova3339 commented on August 15, 2024

I'm referring to this system prompt, I would like for the option to customize this instead

"You are ChatGPT, a large language model trained by OpenAI.",

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.

rudism avatar rudism commented on August 15, 2024

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:

image

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.

rudism avatar rudism commented on August 15, 2024

I've opened #24 with some changes that implement what I'm describing here.

from chatpad.

Supernova3339 avatar Supernova3339 commented on August 15, 2024

from chatpad.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.