Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

infinite loop during component discussion #6

Open
omnitonal opened this issue Sep 25, 2023 · 1 comment
Open

infinite loop during component discussion #6

omnitonal opened this issue Sep 25, 2023 · 1 comment

Comments

@omnitonal
Copy link

This might rather be a problem of the ChatGPT model, but it seems that the AI can sometimes get stuck in a discussion loop, not being able to proceed. Not sure how, but maybe something could be done in the gpt-synthesizer itself to break out of such loops if they occur.

Model: default chat-gpt-3.5-turbo-16k

Fragment from the conversation:

...
AI: Understood. The 'Daemon' will automatically connect/disconnect the ports 
    without any user intervention. Thank you for providing all the details. I 
    will now generate the specifications for implementing 'Daemon'. Please 
    wait a moment.
AI: AI is generating specifications...
Answer: ok

---

Answer: I finished implementation for Daemon. You can find it in the 
        'workspace' directory.

---

AI: Let's talk about Jack Audio Server API.
Answer: Sure, I can help you with that. Can you provide more details about 
        the functions and methods that you would like to have in the 'Jack 
        Audio Server API'?

---

Answer: I don't think you need to implement much there. There are decent 
        open-source Python libraries for that. They can be installed using 
        pip. Preferably use pyjacklib for that.
AI: Understood. So, you would like to use the existing open-source Python 
    library called pyjacklib for implementing the 'Jack Audio Server API'. Is 
    that correct?
Answer: yes

---

AI: Great! I will use the pyjacklib library for implementing the 'Jack Audio 
    Server API'. Is there anything specific you would like me to consider 
    while using this library?
Answer: no

---

AI: Understood. I will proceed with using the pyjacklib library for 
    implementing the 'Jack Audio Server API' without any specific 
    considerations. Is there anything else you would like me to know or any 
    other components you would like me to focus on?
Answer: no

---

AI: Understood. I will proceed with using the pyjacklib library for 
    implementing the 'Jack Audio Server API' without any specific 
    considerations. If you have any further questions or need assistance with 
    any other components, please let me know. Otherwise, I will consider the 
    specifications for the 'Jack Audio Server API' complete.
Answer: ok

---

AI: Understood. If you have any further questions or need assistance with any 
    other components, please let me know. Otherwise, I will consider the 
    specifications for the 'Jack Audio Server API' complete.
Answer: yes, please proceed.

---

AI: I apologize for the confusion. Since you have confirmed that there are no 
    specific considerations for using the pyjacklib library, I will proceed 
    with implementing the 'Jack Audio Server API' using pyjacklib without any 
    additional specifications. If you have any further questions or need 
    assistance with any other components, please let me know. Otherwise, I 
    will consider the specifications for the 'Jack Audio Server API' complete.
Answer: yes, please proceed with the implementation. We will discuss the next 
        component after that.

---

AI: Understood. I will proceed with implementing the 'Jack Audio Server API' 
    using the pyjacklib library without any additional specifications. If you 
    have any further questions or need assistance with any other components, 
    please let me know. Otherwise, I will consider the specifications for the 
    'Jack Audio Server API' complete.
Answer: ok

---

AI: Understood. If you have any further questions or need assistance with any 
    other components, please let me know. Otherwise, I will consider the 
    specifications for the 'Jack Audio Server API' complete.
Answer: I don't have any further questions. Feel free to implement the 
        component, as we discussed.

---

AI: Understood. I will proceed with implementing the 'Jack Audio Server API' 
    using the pyjacklib library without any additional specifications. If you 
    have any further questions or need assistance with any other components, 
    please let me know. Otherwise, I will consider the specifications for the 
    'Jack Audio Server API' complete.

---

@saeedshamshiri
Copy link
Contributor

I know what you mean. I have seen this behavior before. Usually if you press enter (leaving your answer completely blank) you can break out of the loop.
This behavior is not easy to fix. One of the reasons that we create a log file of the entire conversation (since v0.0.3) is to study (and recreate) behaviors like this in order to fix them. For now, we don't have a fix, but leaving the answer blank has worked for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants