Giter Site home page Giter Site logo

Comments (9)

newt7744 avatar newt7744 commented on September 10, 2024 1

maybe you are right. i just test without chatgpt_parent_id, but provided chatgpt_conversation_id,It can contact the context normally.
image

from gpt-telegramus.

newt7744 avatar newt7744 commented on September 10, 2024

image
parent_message_id may useful

from gpt-telegramus.

F33RNI avatar F33RNI commented on September 10, 2024

Thx! I added this.
You can set initial conversation id as chatgpt_conversation_id in settings.json (Every cycle it will be remembered)

Check, please

from gpt-telegramus.

F33RNI avatar F33RNI commented on September 10, 2024

Oh, sorry, I just now realized that we also need parent_id. I'll implement it now...

from gpt-telegramus.

F33RNI avatar F33RNI commented on September 10, 2024

Now it works. You can set initial conversation_id and parent_id like this:

  "chatgpt_conversation_id": "d06d8fb8-4fa3-4837-....",
  "chatgpt_conversation_id__comment__": "INITIAL conversation_id",

  "chatgpt_parent_id": "f5da0c03-015f-49b3-....",
  "chatgpt_parent_id__comment__": "INITIAL parent_id",

Test:

image

from gpt-telegramus.

F33RNI avatar F33RNI commented on September 10, 2024

In the future i think it would be nice to save each telegram chat with a separate conversation_id and parent_id to some sort of database so that several users can use chat independently

from gpt-telegramus.

newt7744 avatar newt7744 commented on September 10, 2024

That's great, I'm going to update and experience it now.

from gpt-telegramus.

qiangweihewu avatar qiangweihewu commented on September 10, 2024

Where to get these IDs? Telegram or ChatGPT?

from gpt-telegramus.

F33RNI avatar F33RNI commented on September 10, 2024

Where to get these IDs? Telegram or ChatGPT?

Set them initially to "" (empty). Write any question and look into logs in console for Current conversation ID:

from gpt-telegramus.

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.