Giter Club home page Giter Club logo

Comments (35)

lencx avatar lencx commented on May 16, 2024

I'm very sorry, it was an oversight on my part, because of the data structure change, some of the configuration will be overwritten, otherwise the program will report an error. So I have released a minor version. Because the program is not yet in stable version, many configurations may change.

from chatgpt.

reconrad48 avatar reconrad48 commented on May 16, 2024

I found them in a .json file, but I am having hard time importing them back in... seems when I go to Sync Custom and add the file path, it just shows the file path and file but doesn't import the individual prompts.

from chatgpt.

lencx avatar lencx commented on May 16, 2024

You can store the files in json format in the ~/.chatgpt/myconf.json directory

[
  {
    "cmd": "a",
    "act": "aa",
    "prompt": "aaa aaa aaa"
  },
  {
    "cmd": "b",
    "act": "bb",
    "prompt": "bbb bbb bbb"
  }
]

Screenshot 2022-12-24 at 00 19 51

Screenshot 2022-12-24 at 00 20 38

Screenshot 2022-12-24 at 00 23 16

from chatgpt.

reconrad48 avatar reconrad48 commented on May 16, 2024

On my screen it doesn't show the "view"...
image

from chatgpt.

lencx avatar lencx commented on May 16, 2024

Please click the sync button first, and make sure the json format is correct, otherwise the parsing will fail.

from chatgpt.

reconrad48 avatar reconrad48 commented on May 16, 2024

I tried the sync button first.. nothing happened..
The json file is in the following format
image

from chatgpt.

reconrad48 avatar reconrad48 commented on May 16, 2024

My custom prompts were appended to this file, but they are at the end.

from chatgpt.

reconrad48 avatar reconrad48 commented on May 16, 2024

Do I have to remove "tags", "enable" etc? Did you remove those parameters in parsing?

from chatgpt.

lencx avatar lencx commented on May 16, 2024

It is a pure array, not an object, the extra fields will not cause failure, please ignore them:

[
  {
    "cmd": "a",
    "act": "aa",
    "prompt": "aaa aaa aaa"
  },
  {
    "cmd": "b",
    "act": "bb",
    "prompt": "bbb bbb bbb"
  }
]

from chatgpt.

reconrad48 avatar reconrad48 commented on May 16, 2024

Yeah I don't know, it doesn't work. I have tried to set the path... sync, clean the json file, etc and it won't bring in the prompts.

from chatgpt.

reconrad48 avatar reconrad48 commented on May 16, 2024

image

from chatgpt.

reconrad48 avatar reconrad48 commented on May 16, 2024

image

from chatgpt.

reconrad48 avatar reconrad48 commented on May 16, 2024

it has the path right, but doesn't see the prompts

image

from chatgpt.

lencx avatar lencx commented on May 16, 2024

Could you please check the console of devtools for errors?

Menu -> Help

Screenshot 2022-12-24 at 00 56 33

from chatgpt.

lencx avatar lencx commented on May 16, 2024

it has the path right, but doesn't see the prompts

image

This data structure has changed, so it will not be displayed.

from chatgpt.

reconrad48 avatar reconrad48 commented on May 16, 2024

image

from chatgpt.

reconrad48 avatar reconrad48 commented on May 16, 2024

it has the path right, but doesn't see the prompts
image

This data structure has changed, so it will not be displayed.

I don't know what that means... that is what I assigned in the sync custom tab...

from chatgpt.

lencx avatar lencx commented on May 16, 2024

Does the sync button in Sync Prompts work?

Screenshot 2022-12-24 at 01 03 35

from chatgpt.

lencx avatar lencx commented on May 16, 2024

image

This problem is caused by the lack of file operation permission, and I am working on it.

from chatgpt.

reconrad48 avatar reconrad48 commented on May 16, 2024

No, the "Sync Prompts" does not pull prompts from f/awesome-chatgpt... etc

from chatgpt.

lencx avatar lencx commented on May 16, 2024

Is the version you have installed v0.6.4?

from chatgpt.

reconrad48 avatar reconrad48 commented on May 16, 2024

I think so, got a dialog message saying new update is available would you like to install etc... happened an hour ago

from chatgpt.

lencx avatar lencx commented on May 16, 2024

Menu -> ChatGPT -> About

Screenshot 2022-12-24 at 01 26 24

from chatgpt.

reconrad48 avatar reconrad48 commented on May 16, 2024

I don't have it on my mac, this is windows 10... also, just a FYi, when i manually added a prompt, it did not save when I restarted ChatGPT

from chatgpt.

lencx avatar lencx commented on May 16, 2024

The windows menu is similar, you should be able to see the menu about. I'd like to confirm your app version first, because just now I posted several versions to fix the path permissions issue. If it's already the latest version, I need to try other solutions.

If you are unable to view the version, try downloading and installing https://github.com/lencx/ChatGPT/releases/tag/v0.6.4.

from chatgpt.

reconrad48 avatar reconrad48 commented on May 16, 2024

Unfortunately there isn't an "about" in windows

from chatgpt.

reconrad48 avatar reconrad48 commented on May 16, 2024

I did just install the "lastest" windows version though... 3 seconds ago.

from chatgpt.

lencx avatar lencx commented on May 16, 2024

Thanks, I'm looking for a solution, as a transitional solution you could try creating ~/.chatgpt/chat.model.cmd.json:

{
  "name": "ChatGPT CMD",
  "last_updated": 1671816282245,
  "data": [
    {
      "act": "aa",
      "cmd": "a",
      "enable": true,
      "prompt": "aaa aaa aaa"
    },
    {
      "act": "bb",
      "cmd": "b",
      "enable": true,
      "prompt": "bbb bbb bbb"
    }
  ]
}

from chatgpt.

reconrad48 avatar reconrad48 commented on May 16, 2024

Unfortunately, that doesn't work either... Can I go back to a version that worked for me?

and at least on my windows, the / no longer brings up the list of prompts. That was broken before I updated when I did have prompts synced, as well as my custom prompts... the / just stopped doing anything.

from chatgpt.

lencx avatar lencx commented on May 16, 2024

Remember to backup your data and then empty the ~/.chatgpt directory and let it reinitialize. https://github.com/lencx/ChatGPT/releases/tag/v0.5.1

from chatgpt.

reconrad48 avatar reconrad48 commented on May 16, 2024

Kind of a pain, I would rather not lose all of my chat history. But I back them up and try that...

from chatgpt.

reconrad48 avatar reconrad48 commented on May 16, 2024

Okay so that worked, I went back to the earlier version and my copied my prompt json file over to .chatgpt and it pulled them. I did want to let you know that at least my chatgpt desktop version for windows is using MS Edge webviewer and not chromium... not sure if that is what you intended or not. Just an FYI.

from chatgpt.

reconrad48 avatar reconrad48 commented on May 16, 2024

image

from chatgpt.

nhan000 avatar nhan000 commented on May 16, 2024

Hi @reconrad48 what version works on Windows for you? I'm using Windows 10 and I'm having a hard time getting it to work. Can't seem to add anything in the "Language Model" tab: can't Sync Prompts, can't Sync Custom, can't add User Custom. Struggle for the last hour and still couldn't get it to work.
Edit: I've downgrade from 0.6.4 to 0.6.0 and both didn't work.
But 0.5.1 works for me.

from chatgpt.

lencx avatar lencx commented on May 16, 2024

Please try v0.6.9, the problem should be fixed.

from chatgpt.

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.