LouisDeMilleville / ChatGPTToAPI

A project which allows you to transform your ChatGPT account into a personal API server to make requests to ChatGPT for free in your projects | Un projet qui vous permet de transformer votre compte ChatGPT en un serveur API personnel vous permettant d'effectuer des requêtes à ChatGPT sur vos autres projets
1 stars 0 forks source link

help #1

Open paisekamao opened 2 weeks ago

paisekamao commented 2 weeks ago

Hello i set up the serveer by following the instructions now can u tell me if we can adjust it to chat instead of creating a new instance everytime?

LouisDeMilleville commented 2 weeks ago

Hello, thank you for testing my project. I just added a /reply endpoint which allows you to reply to an existing chat instead of creating a new one, which i think is what you want to do :smiley:

You just need to get the lastest version of the server i pushed today to use it, i updated the README with details about the endpoints. Please let me know if you have other questions.

paisekamao commented 2 weeks ago

Awesome, thank you so much!

On Mon, 9 Sep 2024 at 5:16 PM, LouisDeMilleville @.***> wrote:

Hello, thank you for testing my project. I just added a /reply endpoint which allows you to reply to an existing chat instead of creating a new one, which i think is what you want to do 😃

You just need to get the lastest version of the server i pushed today to use it, i updated the README with details about the endpoints. Please let me know if you have other questions.

— Reply to this email directly, view it on GitHub https://github.com/LouisDeMilleville/ChatGPTToAPI/issues/1#issuecomment-2337965376, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6RJ6OFTJDP37A4ZJOGJUILZVWGS7AVCNFSM6AAAAABN3FRJNKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZXHE3DKMZXGY . You are receiving this because you authored the thread.Message ID: @.***>

paisekamao commented 2 weeks ago

Can we do some thing that it creates a script and save as txt or json file of Any topic we give it to it ? If it is possible then it will be very cool

On Mon, 9 Sep 2024 at 5:17 PM, paise kamao @.***> wrote:

Awesome, thank you so much!

On Mon, 9 Sep 2024 at 5:16 PM, LouisDeMilleville @.***> wrote:

Hello, thank you for testing my project. I just added a /reply endpoint which allows you to reply to an existing chat instead of creating a new one, which i think is what you want to do 😃

You just need to get the lastest version of the server i pushed today to use it, i updated the README with details about the endpoints. Please let me know if you have other questions.

— Reply to this email directly, view it on GitHub https://github.com/LouisDeMilleville/ChatGPTToAPI/issues/1#issuecomment-2337965376, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6RJ6OFTJDP37A4ZJOGJUILZVWGS7AVCNFSM6AAAAABN3FRJNKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZXHE3DKMZXGY . You are receiving this because you authored the thread.Message ID: @.***>

LouisDeMilleville commented 2 weeks ago

Like something to save all the messages of a specific chat in a file ?

paisekamao commented 2 weeks ago

basically i want to automate the process of creating script for videos on automation we can input topics in a txt file or csv file we can create scripts on full automation then we can use them further ???? can u help me out in this ????

LouisDeMilleville commented 2 weeks ago

If you want to to generate video scripts about a specific subject, i think you should better do it by building a prompt which will return the generated script in the exact style you want.

Something like:

"I want you to generate the script of a video about {INSERT_TOPIC}, your answer will be read by an automated program so make sure to reply with the script in the wanted format only, nothing else.

Here's the wanted format: [Part no 1][Theme: Theme name] Content of this part [Part no 2][Theme: Theme name] Content of this part etc..."

This way you can create a function which can take a topic as parameter and returns a video script about this topic just by adding it to the custom prompt and sending it to GPT. And if you need to change the format of the script, you just have to change the prompt, which is way faster than changing the whole function :+1:

paisekamao commented 2 weeks ago

yeah sure thanks it will help me as i m trying crete a program to generate shorts,videos on automation Thanks