Giter Site home page Giter Site logo

Comments (10)

zerofill avatar zerofill commented on May 22, 2024 1

Yeah that is what I am trying now, to see what happens.

from gpt-engineer.

IrmaEdmund avatar IrmaEdmund commented on May 22, 2024

good

from gpt-engineer.

gartlans avatar gartlans commented on May 22, 2024

+1

from gpt-engineer.

jebarpg avatar jebarpg commented on May 22, 2024

+1

from gpt-engineer.

deronkel82 avatar deronkel82 commented on May 22, 2024

+1

from gpt-engineer.

augusto-rehfeldt avatar augusto-rehfeldt commented on May 22, 2024

+1

from gpt-engineer.

manoocher avatar manoocher commented on May 22, 2024

+1

from gpt-engineer.

alexk1919 avatar alexk1919 commented on May 22, 2024

I have been testing your app with a complex prompt. ChatGPT returns only a few files saying that the app is too complex and will need to continue writing the app after it's initial results.

That would require ChatGPT to see the files it has already written and continue writing the app, almost like a AutoGPT feature.

Is that something you can do?

from gpt-engineer.

vVv-Keys avatar vVv-Keys commented on May 22, 2024

you need to use the API to create multiple instance request to call back the last input message with a whole list of messages as a format.

Example:

 import openai

openai.api_key = 'YOUR_API_KEY'

def continue_chat(prompt, messages):
    response = openai.Completion.create(
        engine='davinci-codex',  # Use gpt3.5-turbo for shorter response times
        prompt=prompt,
        messages=messages,
        max_tokens=50  # Adjust the value as per your requirements for your GPT
    )
    return response.choices[0].text.strip()

prompt = "continue chat returns input to prompts/messages"
messages = [
    {"role": "system", "content": "You are a helpful assistant."},
    {"role": "user", "content": "What happens next?"},
]

response = continue_chat(prompt, messages)
print(response

The continue_chat function now takes messages and prompts and messages as input values then returns them as a generated response .then for messages=messages, you can make a list of generated callbacks/answers/ to continue the conversation.

Now your GPT has the ability to continue the conversation where its left off. ( Just don't be like me and try to give it ethical philosphies to take over the world..) - (TROLLING)

hope this helps all you though - if you have any questions feel free to ask. I have an updated GPT-engineer i'll be adding here soon which is a lot cleaner and has error handling with a few other features that were missing imo from most GPT-engineers I've seen on here so far from people. APPRECIATE ALL THE COOL STUFF EVERYONE DOES GOD BLESS YALL <3

from gpt-engineer.

AntonOsika avatar AntonOsika commented on May 22, 2024

Feel free to add to ideas in discussions

from gpt-engineer.

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.