Code Monkey home page Code Monkey logo

Comments (4)

diemus avatar diemus commented on July 19, 2024 1

@cogentapps I think we should also have a session based conversation compact strategy. like

  • simple QA mode. just answer the last question
  • scrolling mode. just put the recent N msg in the context
  • user only mode. just remember user's question and put it into the context
  • compact mode. use gpt to compact context before adding a new question.
  • custom mode: we could delete user/assistant message to reduce the context

for example, if i want set a session as a helper for translate. I could set a system prompt and a simple QA mode to save unnecessary context token consume. finish all the same type job in this session.

from chat-with-gpt.

mihha avatar mihha commented on July 19, 2024

Can you please explain the purpose of that system prompt?
I have to admit that I don't understand what is that parameter used for and how can we utilize it 🤔

Thank you in advance!

from chat-with-gpt.

diemus avatar diemus commented on July 19, 2024

it's like multitasking, for example, I could create a session that focus on translate, and another session for text extraction. the purpose is to save my time to write a lot of prompt every time for each kind of task. but maybe system prompt is not a good idea, I guess user prompt is good enough for this. I found a project that user / as a quick method for user prompt. https://github.com/Chanzhaoyu/chatgpt-web/blob/main/README.en.md

from chat-with-gpt.

cogentapps avatar cogentapps commented on July 19, 2024

Good idea. Each chat session should have its own system prompt. The system prompt should be saved with the chat, so if you go back to an old chat, it remembers the system prompt. And there can be a button below the System Prompt setting to 'make this the default' for future sessions.

I won't be able to implement this right away, but will add it to the roadmap.

from chat-with-gpt.

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.